|
||||||||||
| 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
@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()
|
int |
incrementAndGetPending()
increment pending and return it |
boolean |
isPending()
Return if the action is pending. |
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 |
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, getRunConf, getTimeOut, getTrackerUri, getType, hashCode, setActionNumber, setActionXml, setConsoleUrl, setCreatedConf, setErrorCode, setErrorInfo, setErrorMessage, setExternalStatus, setId, setMissingDependencies, 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.WritabledataOutput - 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.WritabledataInput - data input.
IOException - thrown if the workflow bean could not be
deserialized.public String getJobId()
getJobId in interface org.apache.oozie.client.CoordinatorActiongetJobId in class JsonCoordinatorActionpublic void setJobId(String id)
setJobId in class JsonCoordinatorActionpublic org.apache.oozie.client.CoordinatorAction.Status getStatus()
getStatus in interface org.apache.oozie.client.CoordinatorActiongetStatus in class JsonCoordinatorActionpublic void setStatus(org.apache.oozie.client.CoordinatorAction.Status status)
setStatus in class JsonCoordinatorActionpublic void setCreatedTime(Date createdTime)
setCreatedTime in class JsonCoordinatorActionpublic void setRerunTime(Date rerunTime)
public void setNominalTime(Date nominalTime)
setNominalTime in class JsonCoordinatorActionpublic void setLastModifiedTime(Date lastModifiedTime)
setLastModifiedTime in class JsonCoordinatorActionpublic Date getCreatedTime()
getCreatedTime in interface org.apache.oozie.client.CoordinatorActiongetCreatedTime in class JsonCoordinatorActionpublic Timestamp getCreatedTimestamp()
public Date getRerunTime()
public Timestamp getRerunTimestamp()
public Date getLastModifiedTime()
getLastModifiedTime in interface org.apache.oozie.client.CoordinatorActiongetLastModifiedTime in class JsonCoordinatorActionpublic Timestamp getLastModifiedTimestamp()
public Date getNominalTime()
getNominalTime in interface org.apache.oozie.client.CoordinatorActiongetNominalTime in class JsonCoordinatorActionpublic Timestamp getNominalTimestamp()
public String getExternalId()
getExternalId in interface org.apache.oozie.client.CoordinatorActiongetExternalId in class JsonCoordinatorActionpublic void setExternalId(String externalId)
setExternalId in class JsonCoordinatorActionpublic String getSlaXml()
public void setSlaXml(String slaXml)
public boolean isTerminalStatus()
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 | |||||||||