|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.client.rest.JsonCoordinatorAction
public class JsonCoordinatorAction
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.oozie.client.CoordinatorAction |
---|
CoordinatorAction.Status |
Constructor Summary | |
---|---|
JsonCoordinatorAction()
|
|
JsonCoordinatorAction(org.json.simple.JSONObject jsonObject)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static List<JsonCoordinatorAction> |
fromJSONArray(org.json.simple.JSONArray array)
Convert a JSONArray into a nodes list. |
int |
getActionNumber()
Return the action number |
String |
getActionXml()
|
String |
getConsoleUrl()
Return the URL to the web console of the system executing the application instance. |
String |
getCreatedConf()
Return the application instance ?? created configuration. |
Date |
getCreatedTime()
Return the creation time for the application instance |
String |
getErrorCode()
Return the error code of the application instance, if it ended in ERROR. |
String |
getErrorMessage()
Return the error message of the application instance, if it ended in ERROR. |
String |
getExternalId()
|
String |
getExternalStatus()
Return the external status of the application instance. |
String |
getId()
Return the application instance ID. |
String |
getJobId()
Return the coordinator job ID. |
Date |
getLastModifiedTime()
Return the last modified time |
String |
getMissingDependencies()
Return the missing dependencies for the particular action |
Date |
getNominalTime()
Return the nominal time for the application instance |
String |
getRunConf()
Return the run-time configuration |
CoordinatorAction.Status |
getStatus()
Return the current status of the application instance. |
int |
getTimeOut()
|
String |
getTrackerUri()
Return the URL to programmatically track the status of the application instance. |
String |
getType()
|
int |
hashCode()
|
void |
setActionNumber(int actionNumber)
|
void |
setActionXml(String actionXml)
|
void |
setConsoleUrl(String consoleUrl)
|
void |
setCreatedConf(String createdConf)
|
void |
setCreatedTime(Date createdTime)
|
void |
setErrorCode(String errorCode)
|
void |
setErrorInfo(String errorCode,
String errorMessage)
|
void |
setErrorMessage(String errorMessage)
|
void |
setExternalId(String extId)
|
void |
setExternalStatus(String externalStatus)
|
void |
setId(String id)
|
void |
setJobId(String id)
|
void |
setLastModifiedTime(Date lastModifiedTime)
|
void |
setMissingDependencies(String missingDependencies)
|
void |
setNominalTime(Date nominalTime)
|
void |
setRunConf(String runConf)
|
void |
setStatus(CoordinatorAction.Status status)
|
void |
setTimeOut(int timeOut)
|
void |
setTrackerUri(String trackerUri)
|
void |
setType(String type)
|
static org.json.simple.JSONArray |
toJSONArray(List<? extends JsonCoordinatorAction> actions)
Convert a nodes list into a JSONArray. |
org.json.simple.JSONObject |
toJSONObject()
Return the JSONObject for the bean. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsonCoordinatorAction()
public JsonCoordinatorAction(org.json.simple.JSONObject jsonObject)
Method Detail |
---|
public org.json.simple.JSONObject toJSONObject()
JsonBean
toJSONObject
in interface JsonBean
public String getId()
CoordinatorAction
getId
in interface CoordinatorAction
public void setId(String id)
public String getJobId()
CoordinatorAction
getJobId
in interface CoordinatorAction
public void setJobId(String id)
public String getType()
public void setType(String type)
public String getExternalId()
getExternalId
in interface CoordinatorAction
public void setExternalId(String extId)
public void setActionNumber(int actionNumber)
public int getActionNumber()
CoordinatorAction
getActionNumber
in interface CoordinatorAction
public String getCreatedConf()
CoordinatorAction
getCreatedConf
in interface CoordinatorAction
public void setCreatedConf(String createdConf)
public void setCreatedTime(Date createdTime)
public Date getCreatedTime()
CoordinatorAction
getCreatedTime
in interface CoordinatorAction
public CoordinatorAction.Status getStatus()
CoordinatorAction
getStatus
in interface CoordinatorAction
public void setStatus(CoordinatorAction.Status status)
public void setLastModifiedTime(Date lastModifiedTime)
public Date getLastModifiedTime()
CoordinatorAction
getLastModifiedTime
in interface CoordinatorAction
public void setRunConf(String runConf)
public String getRunConf()
CoordinatorAction
getRunConf
in interface CoordinatorAction
public void setMissingDependencies(String missingDependencies)
public String getMissingDependencies()
CoordinatorAction
getMissingDependencies
in interface CoordinatorAction
public String getExternalStatus()
CoordinatorAction
getExternalStatus
in interface CoordinatorAction
public void setExternalStatus(String externalStatus)
public String getTrackerUri()
CoordinatorAction
getTrackerUri
in interface CoordinatorAction
public void setTrackerUri(String trackerUri)
public String getConsoleUrl()
CoordinatorAction
getConsoleUrl
in interface CoordinatorAction
public void setConsoleUrl(String consoleUrl)
public String getErrorCode()
CoordinatorAction
getErrorCode
in interface CoordinatorAction
public String getErrorMessage()
CoordinatorAction
getErrorMessage
in interface CoordinatorAction
public void setErrorInfo(String errorCode, String errorMessage)
public String getActionXml()
public void setActionXml(String actionXml)
public String toString()
toString
in class Object
public Date getNominalTime()
CoordinatorAction
getNominalTime
in interface CoordinatorAction
public void setNominalTime(Date nominalTime)
public int getTimeOut()
public void setTimeOut(int timeOut)
public void setErrorCode(String errorCode)
setErrorCode
in interface CoordinatorAction
public void setErrorMessage(String errorMessage)
setErrorMessage
in interface CoordinatorAction
public static org.json.simple.JSONArray toJSONArray(List<? extends JsonCoordinatorAction> actions)
nodes
- nodes list.
public static List<JsonCoordinatorAction> fromJSONArray(org.json.simple.JSONArray array)
array
- JSON array.
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |