|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.client.rest.JsonCoordinatorAction
org.apache.oozie.CoordinatorActionBean
public class CoordinatorActionBean
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.oozie.client.CoordinatorAction |
---|
CoordinatorAction.Status |
Constructor Summary | |
---|---|
CoordinatorActionBean()
|
Method Summary | |
---|---|
Date |
getCreatedTime()
Return the creation time for the application instance |
Timestamp |
getCreatedTimestamp()
|
String |
getExternalId()
|
String |
getJobId()
Return the coordinator job ID. |
Date |
getLastModifiedTime()
Return the last modified time |
Timestamp |
getLastModifiedTimestamp()
|
Date |
getNominalTime()
Return the nominal time for the application instance |
Timestamp |
getNominalTimestamp()
|
Date |
getRerunTime()
|
Timestamp |
getRerunTimestamp()
|
String |
getSlaXml()
|
CoordinatorAction.Status |
getStatus()
Return the current status of the application instance. |
boolean |
isTerminalStatus()
|
void |
readFields(DataInput dataInput)
Deserialize a coordinator bean from a data input. |
void |
setCreatedTime(Date createdTime)
|
void |
setExternalId(String externalId)
|
void |
setJobId(String id)
|
void |
setLastModifiedTime(Date lastModifiedTime)
|
void |
setNominalTime(Date nominalTime)
|
void |
setRerunTime(Date rerunTime)
|
void |
setSlaXml(String slaXml)
|
void |
setStatus(CoordinatorAction.Status status)
|
void |
write(DataOutput dataOutput)
Serialize the coordinator bean to a data output. |
Methods inherited from class org.apache.oozie.client.rest.JsonCoordinatorAction |
---|
equals, fromJSONArray, getActionNumber, getActionXml, getConsoleUrl, getCreatedConf, getErrorCode, getErrorMessage, getExternalStatus, getId, getMissingDependencies, getRunConf, getTimeOut, getTrackerUri, getType, hashCode, setActionNumber, setActionXml, setConsoleUrl, setCreatedConf, setErrorCode, setErrorInfo, setErrorMessage, setExternalStatus, setId, setMissingDependencies, setRunConf, setTimeOut, setTrackerUri, setType, toJSONArray, toJSONObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoordinatorActionBean()
Method Detail |
---|
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
dataOutput
- data output.
IOException
- thrown if the coordinator 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 String getJobId()
CoordinatorAction
getJobId
in interface CoordinatorAction
getJobId
in class JsonCoordinatorAction
public void setJobId(String id)
setJobId
in class JsonCoordinatorAction
public CoordinatorAction.Status getStatus()
CoordinatorAction
getStatus
in interface CoordinatorAction
getStatus
in class JsonCoordinatorAction
public void setStatus(CoordinatorAction.Status status)
setStatus
in class JsonCoordinatorAction
public void setCreatedTime(Date createdTime)
setCreatedTime
in class JsonCoordinatorAction
public void setRerunTime(Date rerunTime)
public void setNominalTime(Date nominalTime)
setNominalTime
in class JsonCoordinatorAction
public void setLastModifiedTime(Date lastModifiedTime)
setLastModifiedTime
in class JsonCoordinatorAction
public Date getCreatedTime()
CoordinatorAction
getCreatedTime
in interface CoordinatorAction
getCreatedTime
in class JsonCoordinatorAction
public Timestamp getCreatedTimestamp()
public Date getRerunTime()
public Timestamp getRerunTimestamp()
public Date getLastModifiedTime()
CoordinatorAction
getLastModifiedTime
in interface CoordinatorAction
getLastModifiedTime
in class JsonCoordinatorAction
public Timestamp getLastModifiedTimestamp()
public Date getNominalTime()
CoordinatorAction
getNominalTime
in interface CoordinatorAction
getNominalTime
in class JsonCoordinatorAction
public Timestamp getNominalTimestamp()
public String getExternalId()
getExternalId
in interface CoordinatorAction
getExternalId
in class JsonCoordinatorAction
public void setExternalId(String externalId)
setExternalId
in class JsonCoordinatorAction
public String getSlaXml()
public void setSlaXml(String slaXml)
public boolean isTerminalStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |