|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.BundleActionBean
@Entity public class BundleActionBean
Constructor Summary | |
---|---|
BundleActionBean()
|
Method Summary | |
---|---|
int |
decrementAndGetPending()
decrement pending and return it |
String |
getBundleActionId()
Get the Bundle Action Id. |
String |
getBundleId()
Get the BundleId |
String |
getCoordId()
Get the coordinator Id. |
String |
getCoordName()
Get the Coordinator name. |
Date |
getLastModifiedTime()
Get Last modified time. |
Timestamp |
getLastModifiedTimestamp()
Get Last modified time. |
int |
getPending()
Get some actions are in progress for particular bundle action. |
org.apache.oozie.client.Job.Status |
getStatus()
Get the Status of the Bundle Action |
String |
getStatusStr()
Get the Status of the Bundle Action |
int |
incrementAndGetPending()
increment pending and return it |
boolean |
isCritical()
Return if the action is critical. |
boolean |
isPending()
Return if the action is pending. |
boolean |
isTerminalStatus()
|
void |
readFields(DataInput dataInput)
|
void |
resetCritical()
Reseset Whether this bundle action is critical or not. |
void |
setBundleActionId(String bundleActionId)
bundleActionId to set |
void |
setBundleId(String bundleId)
Set the Bundle Id. |
void |
setCoordId(String coordId)
Set the coordinator Id. |
void |
setCoordName(String coordName)
Set the Coordinator name. |
void |
setCritical()
Set Whether this bundle action is critical or not. |
void |
setLastModifiedTime(Date lastModifiedTime)
Set Last modified time. |
void |
setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
Set Last modified time. |
void |
setPending(int pending)
Set some actions are in progress for particular bundle action. |
void |
setStatus(org.apache.oozie.client.Job.Status val)
Set the Status of the Bundle Action |
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. |
void |
write(DataOutput dataOutput)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleActionBean()
Method Detail |
---|
public void setBundleActionId(String bundleActionId)
bundleActionId
- the bundleActionId to setpublic String getBundleActionId()
public String getBundleId()
public void setBundleId(String bundleId)
bundleId
- public String getCoordName()
public void setCoordName(String coordName)
coordName
- public String getCoordId()
public void setCoordId(String coordId)
coordId
- public org.apache.oozie.client.Job.Status getStatus()
public String getStatusStr()
public void setStatus(org.apache.oozie.client.Job.Status val)
val
- public void setCritical()
critical
- set critical to truepublic void resetCritical()
critical
- set critical to falsepublic boolean isCritical()
public void setPending(int pending)
pending
- set pending to truepublic int incrementAndGetPending()
public int decrementAndGetPending()
public int getPending()
public boolean isPending()
public boolean isTerminalStatus()
public void setLastModifiedTimestamp(Timestamp lastModifiedTimestamp)
lastModifiedTimestamp
- the lastModifiedTimestamp to setpublic void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime
- the lastModifiedTime to setpublic Date getLastModifiedTime()
public Timestamp getLastModifiedTimestamp()
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.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |