|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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,
String timeZoneId)
Convert a coordinator application list into a JSONArray. |
org.json.simple.JSONObject |
toJSONObject()
Return the JSONObject for the bean with GMT time zone. |
org.json.simple.JSONObject |
toJSONObject(String timeZoneId)
Return the JSONObject for the bean with the given time zone. |
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 JsonBean
public org.json.simple.JSONObject toJSONObject(String timeZoneId)
JsonBean
toJSONObject
in interface JsonBean
timeZoneId
- the time zone to use
public String getAppPath()
getAppPath
in interface org.apache.oozie.client.CoordinatorJob
getAppPath
in interface org.apache.oozie.client.Job
public void setAppPath(String appPath)
public String getAppName()
getAppName
in interface org.apache.oozie.client.CoordinatorJob
getAppName
in interface org.apache.oozie.client.Job
public void setAppName(String appName)
public String getId()
getId
in interface org.apache.oozie.client.CoordinatorJob
getId
in interface org.apache.oozie.client.Job
public void setId(String id)
public void setExternalId(String externalId)
public String getExternalId()
getExternalId
in interface org.apache.oozie.client.Job
public String getConf()
getConf
in interface org.apache.oozie.client.CoordinatorJob
getConf
in interface org.apache.oozie.client.Job
public void setConf(String conf)
public org.apache.oozie.client.Job.Status getStatus()
getStatus
in interface org.apache.oozie.client.CoordinatorJob
getStatus
in interface org.apache.oozie.client.Job
public void setStatus(org.apache.oozie.client.Job.Status status)
setStatus
in interface org.apache.oozie.client.Job
public void setFrequency(int frequency)
public int getFrequency()
getFrequency
in interface org.apache.oozie.client.CoordinatorJob
public void setTimeUnit(org.apache.oozie.client.CoordinatorJob.Timeunit timeUnit)
public org.apache.oozie.client.CoordinatorJob.Timeunit getTimeUnit()
getTimeUnit
in interface org.apache.oozie.client.CoordinatorJob
public void setTimeZone(String timeZone)
public String getTimeZone()
getTimeZone
in interface org.apache.oozie.client.CoordinatorJob
public void setConcurrency(int concurrency)
public int getConcurrency()
getConcurrency
in interface org.apache.oozie.client.CoordinatorJob
public 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.CoordinatorJob
public void setTimeout(int timeOut)
public int getTimeout()
getTimeout
in interface org.apache.oozie.client.CoordinatorJob
public void setLastActionTime(Date lastAction)
public Date getLastActionTime()
getLastActionTime
in interface org.apache.oozie.client.CoordinatorJob
public Date getNextMaterializedTime()
getNextMaterializedTime
in interface org.apache.oozie.client.CoordinatorJob
public void setNextMaterializedTime(Date nextMaterializedTime)
public Date getStartTime()
getStartTime
in interface org.apache.oozie.client.CoordinatorJob
getStartTime
in interface org.apache.oozie.client.Job
public void setStartTime(Date startTime)
public Date getEndTime()
getEndTime
in interface org.apache.oozie.client.CoordinatorJob
getEndTime
in interface org.apache.oozie.client.Job
public void setEndTime(Date endTime)
public Date getPauseTime()
getPauseTime
in interface org.apache.oozie.client.Job
public void setPauseTime(Date pauseTime)
public String getUser()
getUser
in interface org.apache.oozie.client.CoordinatorJob
getUser
in interface org.apache.oozie.client.Job
public void setUser(String user)
public String getGroup()
getGroup
in interface org.apache.oozie.client.CoordinatorJob
getGroup
in interface org.apache.oozie.client.Job
public String getAcl()
getAcl
in interface org.apache.oozie.client.CoordinatorJob
getAcl
in interface org.apache.oozie.client.Job
public void setGroup(String group)
public String getBundleId()
getBundleId
in interface org.apache.oozie.client.CoordinatorJob
public void setBundleId(String bundleId)
public String getConsoleUrl()
getConsoleUrl
in interface org.apache.oozie.client.CoordinatorJob
getConsoleUrl
in interface org.apache.oozie.client.Job
public void setConsoleUrl(String consoleUrl)
consoleUrl
- the coordinate application console URL.public String toString()
toString
in class Object
public void setActions(List<? extends JsonCoordinatorAction> nodes)
public List<org.apache.oozie.client.CoordinatorAction> getActions()
getActions
in interface org.apache.oozie.client.CoordinatorJob
public static org.json.simple.JSONArray toJSONArray(List<? extends JsonCoordinatorJob> applications, String timeZoneId)
applications
- list.timeZoneId
- time zone to use for dates in the JSON array.
public int getLastActionNumber()
public void setLastActionNumber(int lastActionNumber)
public void setPending()
setPending
in interface org.apache.oozie.client.Job
pending
- set pending to truepublic void resetPending()
resetPending
in interface org.apache.oozie.client.Job
pending
- set pending to false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |