public class WorkFlow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADMIN_STATUS_CANCELLED |
static int |
ADMIN_STATUS_CREATED |
static int |
ADMIN_STATUS_SUBMITTED |
static int |
COMPLETE_ROLLBACK_TYPE |
static int |
EXECUTION_STATUS_CANCELLED |
static int |
EXECUTION_STATUS_COMPLETED |
static int |
EXECUTION_STATUS_COMPLETED_WITH_WARNING |
static int |
EXECUTION_STATUS_DB_UPDATE_IN_PROGRESS |
static int |
EXECUTION_STATUS_FAILED |
static int |
EXECUTION_STATUS_IN_PROGRESS |
static int |
EXECUTION_STATUS_NOT_STARTED |
static int |
EXECUTION_STATUS_PAUSED |
static int |
EXECUTION_STATUS_SKIPPED |
static int |
PARTIAL_ROLLBACK_TYPE |
static int |
PRIORITY_HIGH |
static int |
PRIORITY_LOW |
static int |
PRIORITY_MEDIUM |
static java.util.Map<java.lang.Integer,java.lang.String> |
workflowConstantsValuesMap |
Constructor and Description |
---|
WorkFlow() |
Modifier and Type | Method and Description |
---|---|
WorkFlow |
cloneWorkFlow() |
int |
getAdminStatus() |
java.lang.String |
getCancelledByUser() |
long |
getCancelledTime() |
java.lang.String |
getCurrentStepId() |
int |
getExecutionStatus() |
long |
getFutureStartTime() |
long |
getParentSrToNotify() |
long |
getParentWfStepConfigEntryId() |
int |
getPriority() |
java.lang.String |
getPriorityString() |
int |
getRequestId() |
java.util.List<WorkFlowStep> |
getSteps() |
long |
getSubmittedTime() |
long |
getWorkflowCreated() |
boolean |
isDebugMode() |
static boolean |
isWorkflowUpdateInProgress(java.lang.String srId) |
void |
setAdminStatus(int adminStatus) |
void |
setCancelledByUser(java.lang.String cancelledByUser) |
void |
setCancelledTime(long cancelledTime) |
void |
setCurrentStepId(java.lang.String currentStepId) |
void |
setDebugMode(boolean debugMode) |
void |
setExecutionStatus(int executionStatus) |
void |
setFutureStartTime(long futureStartTime) |
void |
setParentSrToNotify(long parentSrToNotify) |
void |
setParentWfStepConfigEntryId(long parentWfStepConfigEntryId) |
void |
setPriority(int priority) |
void |
setRequestId(int requestId) |
void |
setSteps(java.util.List<WorkFlowStep> steps) |
void |
setSubmittedTime(long submittedTime) |
static void |
setUpdateFinished(java.lang.String srId) |
static void |
setUpdateInProgress(java.lang.String srId) |
void |
setWorkflowCreated(long workflowCreated) |
public static final int ADMIN_STATUS_CREATED
public static final int ADMIN_STATUS_SUBMITTED
public static final int ADMIN_STATUS_CANCELLED
public static final int EXECUTION_STATUS_NOT_STARTED
public static final int EXECUTION_STATUS_IN_PROGRESS
public static final int EXECUTION_STATUS_FAILED
public static final int EXECUTION_STATUS_COMPLETED
public static final int EXECUTION_STATUS_COMPLETED_WITH_WARNING
public static final int EXECUTION_STATUS_CANCELLED
public static final int EXECUTION_STATUS_PAUSED
public static final int EXECUTION_STATUS_SKIPPED
public static final int EXECUTION_STATUS_DB_UPDATE_IN_PROGRESS
public static final int PRIORITY_HIGH
public static final int PRIORITY_MEDIUM
public static final int PRIORITY_LOW
public static final int COMPLETE_ROLLBACK_TYPE
public static final int PARTIAL_ROLLBACK_TYPE
public static java.util.Map<java.lang.Integer,java.lang.String> workflowConstantsValuesMap
public WorkFlow cloneWorkFlow()
public java.lang.String getCurrentStepId()
public void setCurrentStepId(java.lang.String currentStepId)
public int getRequestId()
public long getWorkflowCreated()
public long getSubmittedTime()
public long getCancelledTime()
public int getAdminStatus()
public int getExecutionStatus()
public java.util.List<WorkFlowStep> getSteps()
public void setRequestId(int requestId)
requestId
- the requestId to setpublic void setWorkflowCreated(long workflowCreated)
workflowCreated
- the workflowCreated to setpublic void setSubmittedTime(long submittedTime)
submittedTime
- the submittedTime to setpublic void setCancelledTime(long cancelledTime)
cancelledTime
- the cancelledTime to setpublic void setAdminStatus(int adminStatus)
adminStatus
- the adminStatus to setpublic void setExecutionStatus(int executionStatus)
executionStatus
- the executionStatus to setpublic void setSteps(java.util.List<WorkFlowStep> steps)
steps
- the steps to setpublic java.lang.String getCancelledByUser()
public void setCancelledByUser(java.lang.String cancelledByUser)
cancelledByUser
- the cancelledByUser to setpublic void setFutureStartTime(long futureStartTime)
public long getFutureStartTime()
public int getPriority()
public java.lang.String getPriorityString()
public void setPriority(int priority)
priority
- the priority to setpublic boolean isDebugMode()
public void setDebugMode(boolean debugMode)
public long getParentSrToNotify()
public void setParentSrToNotify(long parentSrToNotify)
public long getParentWfStepConfigEntryId()
public void setParentWfStepConfigEntryId(long parentWfStepConfigEntryId)
public static void setUpdateInProgress(java.lang.String srId)
public static void setUpdateFinished(java.lang.String srId)
public static boolean isWorkflowUpdateInProgress(java.lang.String srId)