|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.client.rest.JsonBundleJob org.apache.oozie.BundleJobBean
@Entity public class BundleJobBean
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.oozie.client.BundleJob |
---|
org.apache.oozie.client.BundleJob.Timeunit |
Nested classes/interfaces inherited from interface org.apache.oozie.client.Job |
---|
org.apache.oozie.client.Job.Status |
Constructor Summary | |
---|---|
BundleJobBean()
|
Method Summary | |
---|---|
String |
getAuthToken()
|
Date |
getCreatedTime()
Get createdTime |
Timestamp |
getCreatedTimestamp()
|
Date |
getEndTime()
|
Timestamp |
getEndTimestamp()
|
String |
getJobXml()
|
Date |
getKickoffTime()
|
Timestamp |
getKickoffTimestamp()
|
Timestamp |
getLastModifiedTimestamp()
|
String |
getOrigJobXml()
|
Date |
getPauseTime()
Get pauseTime |
Timestamp |
getPauseTimestamp()
|
int |
getPending()
|
Timestamp |
getstartTimestamp()
|
org.apache.oozie.client.Job.Status |
getStatus()
|
String |
getStatusStr()
|
Timestamp |
getSuspendedTimestamp()
|
org.apache.oozie.client.BundleJob.Timeunit |
getTimeUnit()
|
String |
getTimeUnitStr()
|
boolean |
isPending()
Return if the action is pending. |
void |
readFields(DataInput dataInput)
|
void |
resetPending()
Set pending to false |
void |
setAuthToken(String authToken)
|
void |
setCreatedTime(Date createTime)
Set createdTime |
void |
setEndTime(Date endTime)
Set endTime |
void |
setEndTimestamp(Timestamp endTimestamp)
|
void |
setJobXml(String jobXml)
|
void |
setKickoffTime(Date kickoffTime)
Set kickoffTime |
void |
setKickoffTimestamp(Timestamp kickoffTimestamp)
|
void |
setLastModifiedTime(Date lastModifiedTime)
|
void |
setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
|
void |
setOrigJobXml(String origJobXml)
|
void |
setPauseTime(Date pauseTime)
Set pauseTime |
void |
setPauseTimestamp(Timestamp pauseTimestamp)
|
void |
setPending()
Set pending to true |
void |
setStartTime(Date startTime)
Set startTime |
void |
setStartTimestamp(Timestamp startTimestamp)
|
void |
setStatus(org.apache.oozie.client.Job.Status val)
Set status |
void |
setSuspendedTime(Date suspendTime)
|
void |
setSuspendedTimestamp(Timestamp suspendedTimestamp)
|
void |
setTimeUnit(org.apache.oozie.client.BundleJob.Timeunit timeUnit)
Set timeUnit |
void |
write(DataOutput dataOutput)
|
Methods inherited from class org.apache.oozie.client.rest.JsonBundleJob |
---|
getAcl, getAppName, getAppPath, getConf, getConsoleUrl, getCoordinators, getExternalId, getGroup, getId, getStartTime, getTimeout, getUser, setAppName, setAppPath, setConf, setConsoleUrl, setCoordJobs, setExternalId, setGroup, setId, setTimeOut, 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 BundleJobBean()
Method Detail |
---|
public String getAuthToken()
public void setAuthToken(String authToken)
authToken
- the authToken to setpublic Timestamp getKickoffTimestamp()
public Timestamp getstartTimestamp()
public void setKickoffTimestamp(Timestamp kickoffTimestamp)
kickoffTimestamp
- the kickoffTimestamp to setpublic void setStartTimestamp(Timestamp startTimestamp)
startTimestamp
- the startTimestamp to setpublic void setStartTime(Date startTime)
setStartTime
in class JsonBundleJob
startTime
- the startTime to setpublic Timestamp getEndTimestamp()
public void setEndTimestamp(Timestamp endTimestamp)
endTimestamp
- the endTimestamp to setpublic Timestamp getPauseTimestamp()
public void setPauseTimestamp(Timestamp pauseTimestamp)
pauseTimestamp
- the pauseTimestamp to setpublic Timestamp getCreatedTimestamp()
public Date getCreatedTime()
JsonBundleJob
getCreatedTime
in interface org.apache.oozie.client.BundleJob
getCreatedTime
in class JsonBundleJob
public String getTimeUnitStr()
public int getPending()
public void setPending()
setPending
in interface org.apache.oozie.client.Job
setPending
in class JsonBundleJob
pending
- set pending to truepublic void resetPending()
resetPending
in interface org.apache.oozie.client.Job
resetPending
in class JsonBundleJob
pending
- set pending to falsepublic boolean isPending()
public Timestamp getLastModifiedTimestamp()
public void setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
lastModifiedTimestamp
- the lastModifiedTimestamp to setpublic Timestamp getSuspendedTimestamp()
public void setSuspendedTimestamp(Timestamp suspendedTimestamp)
suspendedTimestamp
- the suspendedTimestamp to setpublic String getJobXml()
public void setJobXml(String jobXml)
jobXml
- the jobXml to setpublic String getOrigJobXml()
public void setOrigJobXml(String origJobXml)
origJobXml
- the origJobXml to setpublic void setCreatedTime(Date createTime)
JsonBundleJob
setCreatedTime
in class JsonBundleJob
createTime
- the createdTime to setpublic void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime
- public 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
IOException
public org.apache.oozie.client.Job.Status getStatus()
getStatus
in interface org.apache.oozie.client.Job
getStatus
in class JsonBundleJob
public String getStatusStr()
public Date getEndTime()
getEndTime
in interface org.apache.oozie.client.Job
getEndTime
in class JsonBundleJob
public Date getKickoffTime()
getKickoffTime
in interface org.apache.oozie.client.BundleJob
getKickoffTime
in class JsonBundleJob
public org.apache.oozie.client.BundleJob.Timeunit getTimeUnit()
getTimeUnit
in interface org.apache.oozie.client.BundleJob
getTimeUnit
in class JsonBundleJob
public void setEndTime(Date endTime)
JsonBundleJob
setEndTime
in class JsonBundleJob
endTime
- the endTime to setpublic void setKickoffTime(Date kickoffTime)
JsonBundleJob
setKickoffTime
in class JsonBundleJob
kickoffTime
- the kickoffTime to setpublic Date getPauseTime()
JsonBundleJob
getPauseTime
in interface org.apache.oozie.client.Job
getPauseTime
in class JsonBundleJob
public void setPauseTime(Date pauseTime)
JsonBundleJob
setPauseTime
in class JsonBundleJob
pauseTime
- the pauseTime to setpublic void setStatus(org.apache.oozie.client.Job.Status val)
JsonBundleJob
setStatus
in interface org.apache.oozie.client.Job
setStatus
in class JsonBundleJob
val
- the status to setpublic void setTimeUnit(org.apache.oozie.client.BundleJob.Timeunit timeUnit)
JsonBundleJob
setTimeUnit
in class JsonBundleJob
timeUnit
- the timeUnit to setpublic void setSuspendedTime(Date suspendTime)
return
- the suspendTime
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |