@Entity public class WorkflowJobBean extends JsonWorkflowJob implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
WorkflowJobBean()
Default constructor.
|
getAcl, getActions, getAppName, getAppPath, getConf, getConsoleUrl, getGroup, getId, getParentId, getRun, getUser, setActions, setConsoleUrl, setGroup, setId, setParentId, setRun, setUser, toJSONArray, toJSONObject, toJSONObject, toString
public WorkflowJobBean()
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
dataOutput
- data output.IOException
- thrown if the workflow bean could not be serialized.public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
dataInput
- data input.IOException
- thrown if the workflow bean could not be deserialized.public boolean inTerminalState()
public String getLogToken()
public void setLogToken(String logToken)
public WorkflowInstance getWorkflowInstance()
public byte[] getWfInstance()
public void setWorkflowInstance(WorkflowInstance workflowInstance)
public void setWfInstance(byte[] wfInstance)
public void setWfInstance(WorkflowInstance wfInstance)
public String getProtoActionConf()
public void setProtoActionConf(String protoActionConf)
public String getprotoActionConf()
public String getlogToken()
public String getStatusStr()
public Timestamp getLastModifiedTimestamp()
public Timestamp getStartTimestamp()
public Timestamp getCreatedTimestamp()
public Timestamp getEndTimestamp()
public void setAppName(String val)
setAppName
in class JsonWorkflowJob
public void setAppPath(String val)
setAppPath
in class JsonWorkflowJob
public void setConf(String val)
setConf
in class JsonWorkflowJob
public void setStatus(org.apache.oozie.client.WorkflowJob.Status val)
setStatus
in class JsonWorkflowJob
public org.apache.oozie.client.WorkflowJob.Status getStatus()
getStatus
in interface org.apache.oozie.client.WorkflowJob
getStatus
in class JsonWorkflowJob
public void setExternalId(String externalId)
setExternalId
in class JsonWorkflowJob
public String getExternalId()
getExternalId
in interface org.apache.oozie.client.WorkflowJob
getExternalId
in class JsonWorkflowJob
public void setLastModifiedTime(Date lastModifiedTime)
setLastModifiedTime
in class JsonWorkflowJob
public Date getLastModifiedTime()
getLastModifiedTime
in interface org.apache.oozie.client.WorkflowJob
getLastModifiedTime
in class JsonWorkflowJob
public Date getCreatedTime()
getCreatedTime
in interface org.apache.oozie.client.WorkflowJob
getCreatedTime
in class JsonWorkflowJob
public void setCreatedTime(Date createdTime)
setCreatedTime
in class JsonWorkflowJob
public Date getStartTime()
getStartTime
in interface org.apache.oozie.client.WorkflowJob
getStartTime
in class JsonWorkflowJob
public void setStartTime(Date startTime)
setStartTime
in class JsonWorkflowJob
public Date getEndTime()
getEndTime
in interface org.apache.oozie.client.WorkflowJob
getEndTime
in class JsonWorkflowJob
public void setEndTime(Date endTime)
setEndTime
in class JsonWorkflowJob
Copyright © 2015 Apache Software Foundation. All Rights Reserved.