public class ProcessSummary extends ProcessProperties
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_PROCESS_COMPLETED_TASK_COUNT
Constant for sorting by the number of tasks in the process with "Completed"
status
|
static java.lang.Integer |
SORT_BY_PROCESS_CURRENT_TASK_COUNT
Constant for sorting by the number of tasks in the process with "Current"
status
|
static java.lang.Integer |
SORT_BY_PROCESS_ELAPSED_MILLISECONDS
Constant for sorting by the number of milliseconds that have elapsed
since the process started
|
static java.lang.Integer |
SORT_BY_PROCESS_END_TIME
Constant for sorting by the process end time
|
static java.lang.Integer |
SORT_BY_PROCESS_ID
Constant for sorting by the process id
|
static java.lang.Integer |
SORT_BY_PROCESS_INITIATOR
Constant for sorting by the username of the process initiator
|
static java.lang.Integer |
SORT_BY_PROCESS_MODEL_NAME
Constant for sorting by the process model name
|
static java.lang.Integer |
SORT_BY_PROCESS_NAME
Constant for sorting by process name
|
static java.lang.Integer |
SORT_BY_PROCESS_PARENT_NAME
Constant for sorting by the parent process name
|
static java.lang.Integer |
SORT_BY_PROCESS_PRIORITY
Constant for sorting by the priority name
|
static java.lang.Integer |
SORT_BY_PROCESS_PRIORITY_NAME
Constant for sorting by the priority name
|
static java.lang.Integer |
SORT_BY_PROCESS_START_TIME
Constant for sorting by the start time
|
static java.lang.Integer |
SORT_BY_PROCESS_STATUS_NAME
Constant for sorting by the status name
|
static int |
STATE_ACTIVE
Constant indicating a running process.
|
static int |
STATE_CANCELLED
Constant indicating a cancelled process.
|
static int |
STATE_COMPLETED
Constant indicating a completed process.
|
static int |
STATE_PAUSED
Constant indicating a paused process.
|
static int |
STATE_PAUSED_BY_EXCEPTION
Constant indicating a paused-by-exception process.
|
Constructor and Description |
---|
ProcessSummary() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCompletedTaskCount()
Retrieves the number of completed tasks in the process
|
java.lang.Integer |
getCurrentTaskCount()
Retrieves the number of tasks that are active
|
java.lang.Long |
getDashboardId() |
java.lang.Long |
getElapsedMilliseconds()
Retrieves the number of milliseconds since the process has started
|
java.sql.Timestamp |
getEndTime()
Returns the time at which the process ended.
|
ProcessException |
getException()
Returns the ProcessException that occurred in the process execution.
|
boolean |
getFavorite() |
boolean |
getMutablePriority()
Returns true if the Priority of the process can be changed else false
|
java.lang.Long |
getParentId()
gets the id of the parent process if one exists
|
java.lang.String |
getParentName()
Gets the parent process name if one exists
|
ProcessPermissions |
getPermissions()
Retrieves the permissions of the user for the process.
|
java.lang.Long |
getProcessModelId()
Retrieves the id of the process model
|
java.lang.String |
getProcessModelName()
Retrieves the name of the process model
|
java.lang.String |
getProcessModelVersion()
Retrieves the version of the Process Model
|
java.sql.Timestamp |
getStartTime()
Retrieves the time at which the process started
|
int |
getStatus()
Retrieves the status of the process.
|
java.lang.String |
getStatusName()
Retrieves the string representation of the current status of the
process.
|
void |
setCompletedTaskCount(java.lang.Integer taskCount_)
Sets the number of completed tasks in the process
|
void |
setCurrentTaskCount(java.lang.Integer taskCount_)
Sets the number of active tasks
|
void |
setDashboardId(java.lang.Long dashboardId_) |
void |
setElapsedMilliseconds(java.lang.Long milliseconds_)
Sets the number of milliseconds since the process has started
|
void |
setEndTime(java.sql.Timestamp time_)
Sets the time at which the process ended.
|
void |
setException(ProcessException exception_)
Sets the ProcessException that occurred in the process execution.
|
void |
setFavorite(boolean favorite_) |
void |
setMutablePriority(boolean mutablePriority_)
Sets whether or not the priority of this process can be changed
|
void |
setParentId(java.lang.Long parentId_)
Sets the id of the parent process
|
void |
setParentName(java.lang.String parentName_)
Sets the name of the process' parent
|
void |
setPermissions(ProcessPermissions permissions_)
Sets the permissions of the user for the process
|
void |
setProcessModelId(java.lang.Long modelId_)
Sets the id of the process model
|
void |
setProcessModelName(java.lang.String modelName_)
Sets the name of the process model
|
void |
setProcessModelVersion(java.lang.String version_)
Sets the version of the Process Model
|
void |
setStartTime(java.sql.Timestamp time_)
Sets the time at which the process started
|
void |
setStatus(int status_)
Sets status of the process.
|
void |
setStatusName(java.lang.String name_)
Sets the string representation of the current status of the process.
|
void |
toXML(java.lang.StringBuilder buffer_) |
getInitiator, getPriority, setInitiator, setPriority, toString
public static final java.lang.Integer SORT_BY_PROCESS_NAME
public static final java.lang.Integer SORT_BY_PROCESS_INITIATOR
public static final java.lang.Integer SORT_BY_PROCESS_STATUS_NAME
public static final java.lang.Integer SORT_BY_PROCESS_PRIORITY_NAME
public static final java.lang.Integer SORT_BY_PROCESS_MODEL_NAME
public static final java.lang.Integer SORT_BY_PROCESS_START_TIME
public static final java.lang.Integer SORT_BY_PROCESS_END_TIME
public static final java.lang.Integer SORT_BY_PROCESS_ELAPSED_MILLISECONDS
public static final java.lang.Integer SORT_BY_PROCESS_CURRENT_TASK_COUNT
public static final java.lang.Integer SORT_BY_PROCESS_COMPLETED_TASK_COUNT
public static final java.lang.Integer SORT_BY_PROCESS_ID
public static final java.lang.Integer SORT_BY_PROCESS_PARENT_NAME
public static final java.lang.Integer SORT_BY_PROCESS_PRIORITY
public static final int STATE_ACTIVE
public static final int STATE_COMPLETED
public static final int STATE_PAUSED
public static final int STATE_CANCELLED
public static final int STATE_PAUSED_BY_EXCEPTION
public boolean getFavorite()
public void setFavorite(boolean favorite_)
public ProcessException getException()
public void setException(ProcessException exception_)
exception_
- process exceptionpublic java.lang.String getProcessModelVersion()
public void setProcessModelVersion(java.lang.String version_)
version_
- the version for Process Modelpublic boolean getMutablePriority()
public void setMutablePriority(boolean mutablePriority_)
mutablePriority_
- true if the priority of the process can be changedpublic java.lang.Long getParentId()
public void setParentId(java.lang.Long parentId_)
parentId_
- the id of the parent to setpublic java.lang.String getParentName()
public void setParentName(java.lang.String parentName_)
parentName_
- the name to set for the parent processpublic java.lang.Integer getCompletedTaskCount()
public void setCompletedTaskCount(java.lang.Integer taskCount_)
taskCount_
- number of completed tasks.public java.lang.Integer getCurrentTaskCount()
public void setCurrentTaskCount(java.lang.Integer taskCount_)
taskCount_
- number of active tasks.public java.lang.Long getElapsedMilliseconds()
public void setElapsedMilliseconds(java.lang.Long milliseconds_)
milliseconds_
- elapsed millisecondspublic java.sql.Timestamp getEndTime()
public void setEndTime(java.sql.Timestamp time_)
time_
- the end timestamp of the process.public java.lang.Long getProcessModelId()
public void setProcessModelId(java.lang.Long modelId_)
modelId_
- id of process model to set.public java.lang.String getProcessModelName()
public void setProcessModelName(java.lang.String modelName_)
modelName_
- name of the process model to set.public java.sql.Timestamp getStartTime()
public void setStartTime(java.sql.Timestamp time_)
time_
- timestamp of the process start time.public java.lang.String getStatusName()
public void setStatusName(java.lang.String name_)
name_
- status string of the process.public int getStatus()
public void setStatus(int status_)
status_
- the status, as one of the STATE_XXX constants.public ProcessPermissions getPermissions()
public void setPermissions(ProcessPermissions permissions_)
permissions_
- ProcessPermissions of the user from the processpublic void toXML(java.lang.StringBuilder buffer_)
public java.lang.Long getDashboardId()
public void setDashboardId(java.lang.Long dashboardId_)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.