|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.client.rest.JsonCoordinatorJob
org.apache.oozie.CoordinatorJobBean
@Entity public class CoordinatorJobBean
| 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 | |
|---|---|
CoordinatorJobBean()
|
|
| Method Summary | |
|---|---|
String |
getAppNamespace()
Get app namespce |
Date |
getCreatedTime()
Get created time |
Timestamp |
getCreatedTimestamp()
Get created timestamp |
Date |
getEndTime()
|
Timestamp |
getEndTimestamp()
Get end timestamp |
String |
getExecution()
Get execution |
org.apache.oozie.client.CoordinatorJob.Execution |
getExecutionOrder()
|
String |
getJobXml()
Get job xml |
Date |
getLastActionTime()
|
Timestamp |
getLastActionTimestamp()
Get last action timestamp |
Date |
getLastModifiedTime()
Get last modified time |
Timestamp |
getLastModifiedTimestamp()
Get last modified timestamp |
Date |
getNextMaterializedTime()
|
Timestamp |
getNextMaterializedTimestamp()
Get next materialized timestamp |
String |
getOrigJobXml()
Get original job xml |
Date |
getPauseTime()
|
String |
getSlaXml()
Get sla xml |
Date |
getStartTime()
|
Timestamp |
getStartTimestamp()
Get start timestamp |
org.apache.oozie.client.Job.Status |
getStatus()
|
String |
getStatusStr()
Get status |
Date |
getSuspendedTime()
Get suspended time |
Timestamp |
getSuspendedTimestamp()
Get suspended timestamp |
org.apache.oozie.client.CoordinatorJob.Timeunit |
getTimeUnit()
|
String |
getTimeUnitStr()
Get time unit |
boolean |
isDoneMaterialization()
Return if the action is done with materialization |
boolean |
isPending()
Return if the action is pending. |
void |
readFields(DataInput dataInput)
Deserialize a coordinator bean from a data input. |
void |
resetDoneMaterialization()
Set doneMaterialization to false |
void |
resetPending()
Set pending to false |
void |
setAppNamespace(String appNamespace)
Set app namespce |
void |
setCreatedTime(Date createTime)
Set created time |
void |
setDoneMaterialization()
Set doneMaterialization to true |
void |
setEndTime(Date endTime)
|
void |
setEndTimestamp(Timestamp endTimestamp)
Set end timestamp |
void |
setExecution(org.apache.oozie.client.CoordinatorJob.Execution order)
Set order |
void |
setJobXml(String jobXml)
Set job xml |
void |
setLastActionTime(Date lastAction)
|
void |
setLastActionTimestamp(Timestamp lastActionTimestamp)
Set last action timestamp |
void |
setLastModifiedTime(Date lastModifiedTime)
Set last modified time |
void |
setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
Set last modified timestamp |
void |
setNextMaterializedTime(Date nextMaterializedTime)
|
void |
setNextMaterializedTimestamp(Timestamp nextMaterializedTimestamp)
Set next materialized timestamp |
void |
setOrigJobXml(String origJobXml)
Set original job xml |
void |
setPauseTime(Date pauseTime)
|
void |
setPending()
Set pending to true |
void |
setSlaXml(String slaXml)
Set sla xml |
void |
setStartTime(Date startTime)
|
void |
setStartTimestamp(Timestamp startTimestamp)
Set start timestamp |
void |
setStatus(org.apache.oozie.client.Job.Status val)
|
void |
setSuspendedTime(Date suspendedTime)
Set suspended time |
void |
setSuspendedTimestamp(Timestamp suspendedTimestamp)
Set suspended timestamp |
void |
setTimeUnit(org.apache.oozie.client.CoordinatorJob.Timeunit timeUnit)
|
void |
write(DataOutput dataOutput)
|
| Methods inherited from class org.apache.oozie.client.rest.JsonCoordinatorJob |
|---|
getAcl, getActions, getAppName, getAppPath, getBundleId, getConcurrency, getConf, getConsoleUrl, getExternalId, getFrequency, getGroup, getId, getLastActionNumber, getMatThrottling, getNumActions, getTimeout, getTimeZone, getUser, setActions, setAppName, setAppPath, setBundleId, setConcurrency, setConf, setConsoleUrl, setExecutionOrder, setExternalId, setFrequency, setGroup, setId, setLastActionNumber, setMatThrottling, setNumActions, setTimeout, setTimeZone, setUser, toJSONArray, toJSONObject, toJSONObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinatorJobBean()
| Method Detail |
|---|
public Timestamp getStartTimestamp()
public void setStartTimestamp(Timestamp startTimestamp)
startTimestamp - start timestamppublic Timestamp getEndTimestamp()
public void setEndTimestamp(Timestamp endTimestamp)
endTimestamp - end timestamppublic Timestamp getNextMaterializedTimestamp()
public void setNextMaterializedTimestamp(Timestamp nextMaterializedTimestamp)
nextMaterializedTimestamp - next materialized timestamppublic Timestamp getLastModifiedTimestamp()
public void setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
lastModifiedTimestamp - last modified timestamppublic Timestamp getSuspendedTimestamp()
public void setSuspendedTimestamp(Timestamp suspendedTimestamp)
suspendedTimestamp - suspended timestamppublic String getJobXml()
public void setJobXml(String jobXml)
jobXml - job xmlpublic String getOrigJobXml()
public void setOrigJobXml(String origJobXml)
origJobXml - public String getSlaXml()
public void setSlaXml(String slaXml)
slaXml - sla xmlpublic void setTimeUnit(org.apache.oozie.client.CoordinatorJob.Timeunit timeUnit)
setTimeUnit in class JsonCoordinatorJobpublic void setLastActionTimestamp(Timestamp lastActionTimestamp)
lastActionTimestamp - last action timestamppublic void setPending()
setPending in interface org.apache.oozie.client.JobsetPending in class JsonCoordinatorJobpublic void resetPending()
resetPending in interface org.apache.oozie.client.JobresetPending in class JsonCoordinatorJobpublic boolean isPending()
public void setDoneMaterialization()
public void resetDoneMaterialization()
public boolean isDoneMaterialization()
public String getAppNamespace()
public void setAppNamespace(String appNamespace)
appNamespace - the app namespce to set
public void write(DataOutput dataOutput)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
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 org.apache.oozie.client.Job.Status getStatus()
getStatus in interface org.apache.oozie.client.CoordinatorJobgetStatus in interface org.apache.oozie.client.JobgetStatus in class JsonCoordinatorJobpublic String getStatusStr()
public void setStatus(org.apache.oozie.client.Job.Status val)
setStatus in interface org.apache.oozie.client.JobsetStatus in class JsonCoordinatorJobpublic String getTimeUnitStr()
public org.apache.oozie.client.CoordinatorJob.Timeunit getTimeUnit()
getTimeUnit in interface org.apache.oozie.client.CoordinatorJobgetTimeUnit in class JsonCoordinatorJobpublic void setExecution(org.apache.oozie.client.CoordinatorJob.Execution order)
order - public org.apache.oozie.client.CoordinatorJob.Execution getExecutionOrder()
getExecutionOrder in interface org.apache.oozie.client.CoordinatorJobgetExecutionOrder in class JsonCoordinatorJobpublic String getExecution()
public void setLastActionTime(Date lastAction)
setLastActionTime in class JsonCoordinatorJobpublic Date getLastActionTime()
getLastActionTime in interface org.apache.oozie.client.CoordinatorJobgetLastActionTime in class JsonCoordinatorJobpublic Timestamp getLastActionTimestamp()
public void setNextMaterializedTime(Date nextMaterializedTime)
setNextMaterializedTime in class JsonCoordinatorJobpublic Date getNextMaterializedTime()
getNextMaterializedTime in interface org.apache.oozie.client.CoordinatorJobgetNextMaterializedTime in class JsonCoordinatorJobpublic void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime - last modified timepublic Date getLastModifiedTime()
public void setSuspendedTime(Date suspendedTime)
suspendedTime - suspended timepublic Date getSuspendedTime()
public void setStartTime(Date startTime)
setStartTime in class JsonCoordinatorJobpublic Date getStartTime()
getStartTime in interface org.apache.oozie.client.CoordinatorJobgetStartTime in interface org.apache.oozie.client.JobgetStartTime in class JsonCoordinatorJobpublic void setEndTime(Date endTime)
setEndTime in class JsonCoordinatorJobpublic void setPauseTime(Date pauseTime)
setPauseTime in class JsonCoordinatorJobpublic Date getEndTime()
getEndTime in interface org.apache.oozie.client.CoordinatorJobgetEndTime in interface org.apache.oozie.client.JobgetEndTime in class JsonCoordinatorJobpublic Date getPauseTime()
getPauseTime in interface org.apache.oozie.client.JobgetPauseTime in class JsonCoordinatorJobpublic void setCreatedTime(Date createTime)
createTime - created timepublic Date getCreatedTime()
public Timestamp getCreatedTimestamp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||