This project has retired. For details please refer to its
Attic page.
WorkflowJobBean (Apache Oozie Core 3.3.1 API)
org.apache.oozie
Class WorkflowJobBean
java.lang.Object
org.apache.oozie.client.rest.JsonWorkflowJob
org.apache.oozie.WorkflowJobBean
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable, JsonBean, org.apache.oozie.client.WorkflowJob
@Entity
public class WorkflowJobBean
- extends JsonWorkflowJob
- implements org.apache.hadoop.io.Writable
| Nested classes/interfaces inherited from interface org.apache.oozie.client.WorkflowJob |
org.apache.oozie.client.WorkflowJob.Status |
| Methods inherited from class org.apache.oozie.client.rest.JsonWorkflowJob |
getAcl, getActions, getAppName, getAppPath, getConf, getConsoleUrl, getGroup, getId, getParentId, getRun, getUser, setActions, setConsoleUrl, setGroup, setId, setParentId, setRun, setUser, toJSONArray, toJSONObject, toJSONObject, toString |
WorkflowJobBean
public WorkflowJobBean()
- Default constructor.
write
public void write(DataOutput dataOutput)
throws IOException
- Serialize the workflow bean to a data output.
- Specified by:
write in interface org.apache.hadoop.io.Writable
- Parameters:
dataOutput - data output.
- Throws:
IOException - thrown if the workflow bean could not be serialized.
readFields
public void readFields(DataInput dataInput)
throws IOException
- Deserialize a workflow bean from a data input.
- Specified by:
readFields in interface org.apache.hadoop.io.Writable
- Parameters:
dataInput - data input.
- Throws:
IOException - thrown if the workflow bean could not be deserialized.
getAuthToken
public String getAuthToken()
setAuthToken
public void setAuthToken(String authToken)
getLogToken
public String getLogToken()
setLogToken
public void setLogToken(String logToken)
getSlaXml
public String getSlaXml()
setSlaXml
public void setSlaXml(String slaXml)
getWorkflowInstance
public WorkflowInstance getWorkflowInstance()
getWfInstance
public byte[] getWfInstance()
setWorkflowInstance
public void setWorkflowInstance(WorkflowInstance workflowInstance)
setWfInstance
public void setWfInstance(byte[] wfInstance)
setWfInstance
public void setWfInstance(WorkflowInstance wfInstance)
getProtoActionConf
public String getProtoActionConf()
setProtoActionConf
public void setProtoActionConf(String protoActionConf)
getprotoActionConf
public String getprotoActionConf()
getlogToken
public String getlogToken()
getStatusStr
public String getStatusStr()
getLastModifiedTimestamp
public Timestamp getLastModifiedTimestamp()
getStartTimestamp
public Timestamp getStartTimestamp()
getCreatedTimestamp
public Timestamp getCreatedTimestamp()
getEndTimestamp
public Timestamp getEndTimestamp()
setAppName
public void setAppName(String val)
- Overrides:
setAppName in class JsonWorkflowJob
setAppPath
public void setAppPath(String val)
- Overrides:
setAppPath in class JsonWorkflowJob
setConf
public void setConf(String val)
- Overrides:
setConf in class JsonWorkflowJob
setStatus
public void setStatus(org.apache.oozie.client.WorkflowJob.Status val)
- Overrides:
setStatus in class JsonWorkflowJob
getStatus
public org.apache.oozie.client.WorkflowJob.Status getStatus()
- Specified by:
getStatus in interface org.apache.oozie.client.WorkflowJob- Overrides:
getStatus in class JsonWorkflowJob
setExternalId
public void setExternalId(String externalId)
- Overrides:
setExternalId in class JsonWorkflowJob
getExternalId
public String getExternalId()
- Specified by:
getExternalId in interface org.apache.oozie.client.WorkflowJob- Overrides:
getExternalId in class JsonWorkflowJob
setLastModifiedTime
public void setLastModifiedTime(Date lastModifiedTime)
- Overrides:
setLastModifiedTime in class JsonWorkflowJob
getLastModifiedTime
public Date getLastModifiedTime()
- Specified by:
getLastModifiedTime in interface org.apache.oozie.client.WorkflowJob- Overrides:
getLastModifiedTime in class JsonWorkflowJob
getCreatedTime
public Date getCreatedTime()
- Specified by:
getCreatedTime in interface org.apache.oozie.client.WorkflowJob- Overrides:
getCreatedTime in class JsonWorkflowJob
setCreatedTime
public void setCreatedTime(Date createdTime)
- Overrides:
setCreatedTime in class JsonWorkflowJob
getStartTime
public Date getStartTime()
- Specified by:
getStartTime in interface org.apache.oozie.client.WorkflowJob- Overrides:
getStartTime in class JsonWorkflowJob
setStartTime
public void setStartTime(Date startTime)
- Overrides:
setStartTime in class JsonWorkflowJob
getEndTime
public Date getEndTime()
- Specified by:
getEndTime in interface org.apache.oozie.client.WorkflowJob- Overrides:
getEndTime in class JsonWorkflowJob
setEndTime
public void setEndTime(Date endTime)
- Overrides:
setEndTime in class JsonWorkflowJob
Copyright © 2013 Apache Software Foundation. All Rights Reserved.