|
||||||||||
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 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 |
String |
getAuthToken()
Get auth token |
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 |
setAuthToken(String authToken)
Set auth token |
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, getTimeout, getTimeZone, getUser, setActions, setAppName, setAppPath, setBundleId, setConcurrency, setConf, setConsoleUrl, setExecutionOrder, setExternalId, setFrequency, setGroup, setId, setLastActionNumber, setMatThrottling, 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 JsonCoordinatorJob
public void setLastActionTimestamp(Timestamp lastActionTimestamp)
lastActionTimestamp
- last action timestamppublic void setAuthToken(String authToken)
authToken
- auth tokenpublic void setPending()
setPending
in interface org.apache.oozie.client.Job
setPending
in class JsonCoordinatorJob
public void resetPending()
resetPending
in interface org.apache.oozie.client.Job
resetPending
in class JsonCoordinatorJob
public boolean isPending()
public void setDoneMaterialization()
public void resetDoneMaterialization()
public boolean isDoneMaterialization()
public String getAppNamespace()
public void setAppNamespace(String appNamespace)
appNamespace
- the app namespce to setpublic void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
dataInput
- 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.CoordinatorJob
getStatus
in interface org.apache.oozie.client.Job
getStatus
in class JsonCoordinatorJob
public String getStatusStr()
public void setStatus(org.apache.oozie.client.Job.Status val)
setStatus
in interface org.apache.oozie.client.Job
setStatus
in class JsonCoordinatorJob
public String getTimeUnitStr()
public org.apache.oozie.client.CoordinatorJob.Timeunit getTimeUnit()
getTimeUnit
in interface org.apache.oozie.client.CoordinatorJob
getTimeUnit
in class JsonCoordinatorJob
public 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.CoordinatorJob
getExecutionOrder
in class JsonCoordinatorJob
public String getExecution()
public void setLastActionTime(Date lastAction)
setLastActionTime
in class JsonCoordinatorJob
public Date getLastActionTime()
getLastActionTime
in interface org.apache.oozie.client.CoordinatorJob
getLastActionTime
in class JsonCoordinatorJob
public Timestamp getLastActionTimestamp()
public void setNextMaterializedTime(Date nextMaterializedTime)
setNextMaterializedTime
in class JsonCoordinatorJob
public Date getNextMaterializedTime()
getNextMaterializedTime
in interface org.apache.oozie.client.CoordinatorJob
getNextMaterializedTime
in class JsonCoordinatorJob
public 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 JsonCoordinatorJob
public Date getStartTime()
getStartTime
in interface org.apache.oozie.client.CoordinatorJob
getStartTime
in interface org.apache.oozie.client.Job
getStartTime
in class JsonCoordinatorJob
public void setEndTime(Date endTime)
setEndTime
in class JsonCoordinatorJob
public void setPauseTime(Date pauseTime)
setPauseTime
in class JsonCoordinatorJob
public Date getEndTime()
getEndTime
in interface org.apache.oozie.client.CoordinatorJob
getEndTime
in interface org.apache.oozie.client.Job
getEndTime
in class JsonCoordinatorJob
public Date getPauseTime()
getPauseTime
in interface org.apache.oozie.client.Job
getPauseTime
in class JsonCoordinatorJob
public void setCreatedTime(Date createTime)
createTime
- created timepublic Date getCreatedTime()
public Timestamp getCreatedTimestamp()
public String getAuthToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |