| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.client.rest.JsonBundleJob
org.apache.oozie.BundleJobBean
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 | 
|---|
getAppName, getAppPath, getConf, getConsoleUrl, getCoordinators, getExternalId, getGroup, getId, getStartTime, getTimeout, getUser, setAppName, setAppPath, setConf, setConsoleUrl, setCoordJobs, setExternalId, setGroup, setId, setTimeOut, setUser, toJSONArray, 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 JsonBundleJobstartTime - 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.BundleJobgetCreatedTime in class JsonBundleJobpublic String getTimeUnitStr()
public int getPending()
public void setPending()
setPending in interface org.apache.oozie.client.JobsetPending in class JsonBundleJobpending - set pending to truepublic void resetPending()
resetPending in interface org.apache.oozie.client.JobresetPending in class JsonBundleJobpending - 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 JsonBundleJobcreateTime - the createdTime to setpublic void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime - 
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.WritableIOExceptionpublic org.apache.oozie.client.Job.Status getStatus()
getStatus in interface org.apache.oozie.client.JobgetStatus in class JsonBundleJobpublic String getStatusStr()
public Date getEndTime()
getEndTime in interface org.apache.oozie.client.JobgetEndTime in class JsonBundleJobpublic Date getKickoffTime()
getKickoffTime in interface org.apache.oozie.client.BundleJobgetKickoffTime in class JsonBundleJobpublic org.apache.oozie.client.BundleJob.Timeunit getTimeUnit()
getTimeUnit in interface org.apache.oozie.client.BundleJobgetTimeUnit in class JsonBundleJobpublic void setEndTime(Date endTime)
JsonBundleJob
setEndTime in class JsonBundleJobendTime - the endTime to setpublic void setKickoffTime(Date kickoffTime)
JsonBundleJob
setKickoffTime in class JsonBundleJobkickoffTime - the kickoffTime to setpublic Date getPauseTime()
JsonBundleJob
getPauseTime in interface org.apache.oozie.client.JobgetPauseTime in class JsonBundleJobpublic void setPauseTime(Date pauseTime)
JsonBundleJob
setPauseTime in class JsonBundleJobpauseTime - the pauseTime to setpublic void setStatus(org.apache.oozie.client.Job.Status val)
JsonBundleJob
setStatus in interface org.apache.oozie.client.JobsetStatus in class JsonBundleJobval - the status to setpublic void setTimeUnit(org.apache.oozie.client.BundleJob.Timeunit timeUnit)
JsonBundleJob
setTimeUnit in class JsonBundleJobtimeUnit - 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 | |||||||||