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