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 |
EXECUTION_STATUS_CANCELLED |
static int |
EXECUTION_STATUS_COMPLETED |
static int |
EXECUTION_STATUS_COMPLETED_WITH_WARNING |
static int |
EXECUTION_STATUS_FAILED |
static int |
EXECUTION_STATUS_IN_PROGRESS |
static int |
EXECUTION_STATUS_NOT_STARTED |
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() |
int |
getPriority() |
java.lang.String |
getPriorityString() |
int |
getRequestId() |
java.util.List<WorkFlowStep> |
getSteps() |
long |
getSubmittedTime() |
long |
getWorkflowCreated() |
void |
setAdminStatus(int adminStatus) |
void |
setCancelledByUser(java.lang.String cancelledByUser) |
void |
setCancelledTime(long cancelledTime) |
void |
setCurrentStepId(java.lang.String currentStepId) |
void |
setExecutionStatus(int executionStatus) |
void |
setFutureStartTime(long futureStartTime) |
void |
setPriority(int priority) |
void |
setRequestId(int requestId) |
void |
setSteps(java.util.List<WorkFlowStep> steps) |
void |
setSubmittedTime(long submittedTime) |
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 PRIORITY_HIGH
public static final int PRIORITY_MEDIUM
public static final int PRIORITY_LOW
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 set