|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.client.rest.JsonCoordinatorAction org.apache.oozie.CoordinatorActionBean
@Entity public class CoordinatorActionBean
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.oozie.client.CoordinatorAction |
---|
org.apache.oozie.client.CoordinatorAction.Status |
Constructor Summary | |
---|---|
CoordinatorActionBean()
|
Method Summary | |
---|---|
int |
decrementAndGetPending()
decrement pending and return it |
Date |
getCreatedTime()
|
Timestamp |
getCreatedTimestamp()
|
String |
getExternalId()
|
String |
getJobId()
|
Date |
getLastModifiedTime()
|
Timestamp |
getLastModifiedTimestamp()
|
Date |
getNominalTime()
|
Timestamp |
getNominalTimestamp()
|
int |
getPending()
Get some actions are in progress for particular bundle action. |
Date |
getRerunTime()
|
Timestamp |
getRerunTimestamp()
|
String |
getSlaXml()
|
org.apache.oozie.client.CoordinatorAction.Status |
getStatus()
|
String |
getStatusStr()
Return the status in string |
int |
incrementAndGetPending()
increment pending and return it |
boolean |
isPending()
Return if the action is pending. |
boolean |
isTerminalStatus()
|
boolean |
isTerminalWithFailure()
Return if the action is complete with failure. |
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 |
setPending(int pending)
Set some actions are in progress for particular coordinator action. |
void |
setRerunTime(Date rerunTime)
|
void |
setSlaXml(String slaXml)
|
void |
setStatus(org.apache.oozie.client.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, getActionNumber, getActionXml, getConsoleUrl, getCreatedConf, getErrorCode, getErrorMessage, getExternalStatus, getId, getMissingDependencies, getPushMissingDependencies, getRunConf, getTimeOut, getTrackerUri, getType, hashCode, setActionNumber, setActionXml, setConsoleUrl, setCreatedConf, setErrorCode, setErrorInfo, setErrorMessage, setExternalStatus, setId, setMissingDependencies, setPushMissingDependencies, setRunConf, setTimeOut, setTrackerUri, setType, toJSONArray, toJSONObject, 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()
getJobId
in interface org.apache.oozie.client.CoordinatorAction
getJobId
in class JsonCoordinatorAction
public void setJobId(String id)
setJobId
in class JsonCoordinatorAction
public org.apache.oozie.client.CoordinatorAction.Status getStatus()
getStatus
in interface org.apache.oozie.client.CoordinatorAction
getStatus
in class JsonCoordinatorAction
public String getStatusStr()
public void setStatus(org.apache.oozie.client.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()
getCreatedTime
in interface org.apache.oozie.client.CoordinatorAction
getCreatedTime
in class JsonCoordinatorAction
public Timestamp getCreatedTimestamp()
public Date getRerunTime()
public Timestamp getRerunTimestamp()
public Date getLastModifiedTime()
getLastModifiedTime
in interface org.apache.oozie.client.CoordinatorAction
getLastModifiedTime
in class JsonCoordinatorAction
public Timestamp getLastModifiedTimestamp()
public Date getNominalTime()
getNominalTime
in interface org.apache.oozie.client.CoordinatorAction
getNominalTime
in class JsonCoordinatorAction
public Timestamp getNominalTimestamp()
public String getExternalId()
getExternalId
in interface org.apache.oozie.client.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()
public boolean isTerminalWithFailure()
public void setPending(int pending)
pending
- set pending to truepublic int incrementAndGetPending()
public int decrementAndGetPending()
public int getPending()
public boolean isPending()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |