org.apache.oozie
Class WorkflowJobBean

java.lang.Object
  extended by org.apache.oozie.client.rest.JsonWorkflowJob
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.apache.oozie.client.WorkflowJob
org.apache.oozie.client.WorkflowJob.Status
 
Constructor Summary
WorkflowJobBean()
          Default constructor.
 
Method Summary
 String getAuthToken()
           
 Date getCreatedTime()
           
 Timestamp getCreatedTimestamp()
           
 Date getEndTime()
           
 Timestamp getEndTimestamp()
           
 String getExternalId()
           
 Date getLastModifiedTime()
           
 Timestamp getLastModifiedTimestamp()
           
 String getlogToken()
           
 String getLogToken()
           
 String getprotoActionConf()
           
 String getProtoActionConf()
           
 String getSlaXml()
           
 Date getStartTime()
           
 Timestamp getStartTimestamp()
           
 org.apache.oozie.client.WorkflowJob.Status getStatus()
           
 String getStatusStr()
           
 byte[] getWfInstance()
           
 WorkflowInstance getWorkflowInstance()
           
 void readFields(DataInput dataInput)
          Deserialize a workflow bean from a data input.
 void setAppName(String val)
           
 void setAppPath(String val)
           
 void setAuthToken(String authToken)
           
 void setConf(String val)
           
 void setCreatedTime(Date createdTime)
           
 void setEndTime(Date endTime)
           
 void setExternalId(String externalId)
           
 void setLastModifiedTime(Date lastModifiedTime)
           
 void setLogToken(String logToken)
           
 void setProtoActionConf(String protoActionConf)
           
 void setSlaXml(String slaXml)
           
 void setStartTime(Date startTime)
           
 void setStatus(org.apache.oozie.client.WorkflowJob.Status val)
           
 void setWfInstance(byte[] wfInstance)
           
 void setWfInstance(WorkflowInstance wfInstance)
           
 void setWorkflowInstance(WorkflowInstance workflowInstance)
           
 void write(DataOutput dataOutput)
          Serialize the workflow bean to a data output.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowJobBean

public WorkflowJobBean()
Default constructor.

Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.