|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.client.rest.JsonCoordinatorJob
@Entity public class JsonCoordinatorJob
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.oozie.client.CoordinatorJob |
|---|
org.apache.oozie.client.CoordinatorJob.Execution, org.apache.oozie.client.CoordinatorJob.Timeunit |
| Nested classes/interfaces inherited from interface org.apache.oozie.client.Job |
|---|
org.apache.oozie.client.Job.Status |
| Constructor Summary | |
|---|---|
JsonCoordinatorJob()
|
|
| Method Summary | |
|---|---|
String |
getAcl()
|
List<org.apache.oozie.client.CoordinatorAction> |
getActions()
|
String |
getAppName()
|
String |
getAppPath()
|
String |
getBundleId()
|
int |
getConcurrency()
|
String |
getConf()
|
String |
getConsoleUrl()
Return the coordinate application console URL. |
Date |
getEndTime()
|
org.apache.oozie.client.CoordinatorJob.Execution |
getExecutionOrder()
|
String |
getExternalId()
|
int |
getFrequency()
|
String |
getGroup()
|
String |
getId()
|
int |
getLastActionNumber()
|
Date |
getLastActionTime()
|
int |
getMatThrottling()
|
Date |
getNextMaterializedTime()
|
Date |
getPauseTime()
|
Date |
getStartTime()
|
org.apache.oozie.client.Job.Status |
getStatus()
|
int |
getTimeout()
|
org.apache.oozie.client.CoordinatorJob.Timeunit |
getTimeUnit()
|
String |
getTimeZone()
|
String |
getUser()
|
void |
resetPending()
Set pending to false |
void |
setActions(List<? extends JsonCoordinatorAction> nodes)
|
void |
setAppName(String appName)
|
void |
setAppPath(String appPath)
|
void |
setBundleId(String bundleId)
|
void |
setConcurrency(int concurrency)
|
void |
setConf(String conf)
|
void |
setConsoleUrl(String consoleUrl)
Set the coordinate application console URL. |
void |
setEndTime(Date endTime)
|
void |
setExecutionOrder(org.apache.oozie.client.CoordinatorJob.Execution order)
|
void |
setExternalId(String externalId)
|
void |
setFrequency(int frequency)
|
void |
setGroup(String group)
|
void |
setId(String id)
|
void |
setLastActionNumber(int lastActionNumber)
|
void |
setLastActionTime(Date lastAction)
|
void |
setMatThrottling(int matThrottling)
|
void |
setNextMaterializedTime(Date nextMaterializedTime)
|
void |
setPauseTime(Date pauseTime)
|
void |
setPending()
Set pending to true |
void |
setStartTime(Date startTime)
|
void |
setStatus(org.apache.oozie.client.Job.Status status)
|
void |
setTimeout(int timeOut)
|
void |
setTimeUnit(org.apache.oozie.client.CoordinatorJob.Timeunit timeUnit)
|
void |
setTimeZone(String timeZone)
|
void |
setUser(String user)
|
static org.json.simple.JSONArray |
toJSONArray(List<? extends JsonCoordinatorJob> applications)
Convert a coordinator application 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsonCoordinatorJob()
| Method Detail |
|---|
public org.json.simple.JSONObject toJSONObject()
JsonBean
toJSONObject in interface JsonBeanpublic String getAppPath()
getAppPath in interface org.apache.oozie.client.CoordinatorJobgetAppPath in interface org.apache.oozie.client.Jobpublic void setAppPath(String appPath)
public String getAppName()
getAppName in interface org.apache.oozie.client.CoordinatorJobgetAppName in interface org.apache.oozie.client.Jobpublic void setAppName(String appName)
public String getId()
getId in interface org.apache.oozie.client.CoordinatorJobgetId in interface org.apache.oozie.client.Jobpublic void setId(String id)
public void setExternalId(String externalId)
public String getExternalId()
getExternalId in interface org.apache.oozie.client.Jobpublic String getConf()
getConf in interface org.apache.oozie.client.CoordinatorJobgetConf in interface org.apache.oozie.client.Jobpublic void setConf(String conf)
public org.apache.oozie.client.Job.Status getStatus()
getStatus in interface org.apache.oozie.client.CoordinatorJobgetStatus in interface org.apache.oozie.client.Jobpublic void setStatus(org.apache.oozie.client.Job.Status status)
setStatus in interface org.apache.oozie.client.Jobpublic void setFrequency(int frequency)
public int getFrequency()
getFrequency in interface org.apache.oozie.client.CoordinatorJobpublic void setTimeUnit(org.apache.oozie.client.CoordinatorJob.Timeunit timeUnit)
public org.apache.oozie.client.CoordinatorJob.Timeunit getTimeUnit()
getTimeUnit in interface org.apache.oozie.client.CoordinatorJobpublic void setTimeZone(String timeZone)
public String getTimeZone()
getTimeZone in interface org.apache.oozie.client.CoordinatorJobpublic void setConcurrency(int concurrency)
public int getConcurrency()
getConcurrency in interface org.apache.oozie.client.CoordinatorJobpublic int getMatThrottling()
public void setMatThrottling(int matThrottling)
public void setExecutionOrder(org.apache.oozie.client.CoordinatorJob.Execution order)
public org.apache.oozie.client.CoordinatorJob.Execution getExecutionOrder()
getExecutionOrder in interface org.apache.oozie.client.CoordinatorJobpublic void setTimeout(int timeOut)
public int getTimeout()
getTimeout in interface org.apache.oozie.client.CoordinatorJobpublic void setLastActionTime(Date lastAction)
public Date getLastActionTime()
getLastActionTime in interface org.apache.oozie.client.CoordinatorJobpublic Date getNextMaterializedTime()
getNextMaterializedTime in interface org.apache.oozie.client.CoordinatorJobpublic void setNextMaterializedTime(Date nextMaterializedTime)
public Date getStartTime()
getStartTime in interface org.apache.oozie.client.CoordinatorJobgetStartTime in interface org.apache.oozie.client.Jobpublic void setStartTime(Date startTime)
public Date getEndTime()
getEndTime in interface org.apache.oozie.client.CoordinatorJobgetEndTime in interface org.apache.oozie.client.Jobpublic void setEndTime(Date endTime)
public Date getPauseTime()
getPauseTime in interface org.apache.oozie.client.Jobpublic void setPauseTime(Date pauseTime)
public String getUser()
getUser in interface org.apache.oozie.client.CoordinatorJobgetUser in interface org.apache.oozie.client.Jobpublic void setUser(String user)
public String getGroup()
getGroup in interface org.apache.oozie.client.CoordinatorJobgetGroup in interface org.apache.oozie.client.Jobpublic String getAcl()
getAcl in interface org.apache.oozie.client.CoordinatorJobgetAcl in interface org.apache.oozie.client.Jobpublic void setGroup(String group)
public String getBundleId()
getBundleId in interface org.apache.oozie.client.CoordinatorJobpublic void setBundleId(String bundleId)
public String getConsoleUrl()
getConsoleUrl in interface org.apache.oozie.client.CoordinatorJobgetConsoleUrl in interface org.apache.oozie.client.Jobpublic void setConsoleUrl(String consoleUrl)
consoleUrl - the coordinate application console URL.public String toString()
toString in class Objectpublic void setActions(List<? extends JsonCoordinatorAction> nodes)
public List<org.apache.oozie.client.CoordinatorAction> getActions()
getActions in interface org.apache.oozie.client.CoordinatorJobpublic static org.json.simple.JSONArray toJSONArray(List<? extends JsonCoordinatorJob> applications)
applications - list.
public int getLastActionNumber()
public void setLastActionNumber(int lastActionNumber)
public void setPending()
setPending in interface org.apache.oozie.client.Jobpending - set pending to truepublic void resetPending()
resetPending in interface org.apache.oozie.client.Jobpending - set pending to false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||