| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.util.StatusUtils
public class StatusUtils
| Constructor Summary | |
|---|---|
StatusUtils()
 | 
|
| Method Summary | |
|---|---|
static org.apache.oozie.client.Job.Status | 
getStatus(CoordinatorJobBean coordJob)
This Function transforms the statuses based on the name space of the coordinator App  | 
static boolean | 
getStatusForCoordActionInputCheck(CoordinatorJobBean coordJob)
This function check if eligible to do action input check when running with backward support is true.  | 
static org.apache.oozie.client.Job.Status | 
getStatusForCoordRerun(CoordinatorJobBean coordJob,
                                             org.apache.oozie.client.Job.Status prevStatus)
This function changes back the status for coordinator rerun if the job was SUCCEEDED or SUSPENDED when rerun with backward support is true.  | 
static boolean | 
isV1CoordjobKillable(CoordinatorJobBean coordJob)
If namespace 0.1 is used and backward support is true, SUCCEEDED coord job can be killed  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public StatusUtils()
| Method Detail | 
|---|
public static org.apache.oozie.client.Job.Status getStatus(CoordinatorJobBean coordJob)
coordJob - This will be the coordinator job bean for which we need to get the status based on version
public static org.apache.oozie.client.Job.Status getStatusForCoordRerun(CoordinatorJobBean coordJob,
                                                                        org.apache.oozie.client.Job.Status prevStatus)
coordJob - This will be the coordinator job bean for which we need to get the status based on versionprevStatus - coordinator job previous status
public static boolean getStatusForCoordActionInputCheck(CoordinatorJobBean coordJob)
coordJob - This will be the coordinator job bean for which we need to get the status based on version
public static boolean isV1CoordjobKillable(CoordinatorJobBean coordJob)
coordJob - the coordinator job
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||