Package org.bonitasoft.web.client.model
Class Task
- java.lang.Object
-
- org.bonitasoft.web.client.model.Task
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Task extends Object implements Serializable
Task- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTOR_IDstatic StringJSON_PROPERTY_ASSIGNED_DATEstatic StringJSON_PROPERTY_ASSIGNED_IDstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_DISPLAY_DESCRIPTIONstatic StringJSON_PROPERTY_DISPLAY_NAMEstatic StringJSON_PROPERTY_DUE_DATEstatic StringJSON_PROPERTY_EXECUTED_BYstatic StringJSON_PROPERTY_EXECUTED_BY_SUBSTITUTEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_IS_TERMINALstatic StringJSON_PROPERTY_LAST_UPDATE_DATEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PARENT_CASE_IDstatic StringJSON_PROPERTY_PARENT_TASK_IDstatic StringJSON_PROPERTY_PRIORITYstatic StringJSON_PROPERTY_PROCESS_IDstatic StringJSON_PROPERTY_REACHED_STATE_DATEstatic StringJSON_PROPERTY_ROOT_CASE_IDstatic StringJSON_PROPERTY_ROOT_CONTAINER_IDstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description Task()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskactorId(String actorId)TaskassignedDate(String assignedDate)TaskassignedId(String assignedId)Taskdescription(String description)TaskdisplayDescription(String displayDescription)TaskdisplayName(String displayName)TaskdueDate(String dueDate)booleanequals(Object o)TaskexecutedBy(String executedBy)TaskexecutedBySubstitute(String executedBySubstitute)StringgetActorId()the id of the actor that can execute this task null otherwiseStringgetAssignedDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current task was assigned for example '2014-10-17 16:05:42.626'StringgetAssignedId()the user id that this task is assigned to or 0 if it is unassignedStringgetDescription()the task descriptionStringgetDisplayDescription()the human readable task descriptionStringgetDisplayName()the human readable task nameStringgetDueDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task is due for example '2014-10-17 16:05:42.626'StringgetExecutedBy()the id of the user who performed this task.StringgetExecutedBySubstitute()the id of the user who did actually performed the task when it has been done in the name of someone else.StringgetId()the task idBooleangetIsTerminal()True if the task is the last one in a flowStringgetLastUpdateDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task was last updated for example '2014-10-17 16:05:42.626)StringgetName()the task technical nameStringgetParentCaseId()the immediate containing process instance id (case id)StringgetParentTaskId()the parent Task idStringgetPriority()the priority (string) of the current taskStringgetProcessId()the process definition id of the process instance which define this taskStringgetReachedStateDate()the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task reached the current state for example '2014-10-17 16:05:42.626'StringgetRootCaseId()the top/root process instance id (case id).StringgetRootContainerId()same as rootCaseIdActivityStategetState()Get stateStringgetType()the task typeinthashCode()Taskid(String id)TaskisTerminal(Boolean isTerminal)TasklastUpdateDate(String lastUpdateDate)Taskname(String name)TaskparentCaseId(String parentCaseId)TaskparentTaskId(String parentTaskId)Taskpriority(String priority)TaskprocessId(String processId)TaskreachedStateDate(String reachedStateDate)TaskrootCaseId(String rootCaseId)TaskrootContainerId(String rootContainerId)voidsetActorId(String actorId)voidsetAssignedDate(String assignedDate)voidsetAssignedId(String assignedId)voidsetDescription(String description)voidsetDisplayDescription(String displayDescription)voidsetDisplayName(String displayName)voidsetDueDate(String dueDate)voidsetExecutedBy(String executedBy)voidsetExecutedBySubstitute(String executedBySubstitute)voidsetId(String id)voidsetIsTerminal(Boolean isTerminal)voidsetLastUpdateDate(String lastUpdateDate)voidsetName(String name)voidsetParentCaseId(String parentCaseId)voidsetParentTaskId(String parentTaskId)voidsetPriority(String priority)voidsetProcessId(String processId)voidsetReachedStateDate(String reachedStateDate)voidsetRootCaseId(String rootCaseId)voidsetRootContainerId(String rootContainerId)voidsetState(ActivityState state)voidsetType(String type)Taskstate(ActivityState state)StringtoString()Tasktype(String type)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_NAME
public static final String JSON_PROPERTY_DISPLAY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISPLAY_DESCRIPTION
public static final String JSON_PROPERTY_DISPLAY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REACHED_STATE_DATE
public static final String JSON_PROPERTY_REACHED_STATE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATE_DATE
public static final String JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DUE_DATE
public static final String JSON_PROPERTY_DUE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_PRIORITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESS_ID
public static final String JSON_PROPERTY_PROCESS_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARENT_CASE_ID
public static final String JSON_PROPERTY_PARENT_CASE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARENT_TASK_ID
public static final String JSON_PROPERTY_PARENT_TASK_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROOT_CASE_ID
public static final String JSON_PROPERTY_ROOT_CASE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROOT_CONTAINER_ID
public static final String JSON_PROPERTY_ROOT_CONTAINER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTED_BY
public static final String JSON_PROPERTY_EXECUTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXECUTED_BY_SUBSTITUTE
public static final String JSON_PROPERTY_EXECUTED_BY_SUBSTITUTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTOR_ID
public static final String JSON_PROPERTY_ACTOR_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED_ID
public static final String JSON_PROPERTY_ASSIGNED_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ASSIGNED_DATE
public static final String JSON_PROPERTY_ASSIGNED_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_TERMINAL
public static final String JSON_PROPERTY_IS_TERMINAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
setType
public void setType(String type)
-
setName
public void setName(String name)
-
getDisplayName
@Nullable public String getDisplayName()
the human readable task name- Returns:
- displayName
-
setDisplayName
public void setDisplayName(String displayName)
-
setDescription
public void setDescription(String description)
-
getDisplayDescription
@Nullable public String getDisplayDescription()
the human readable task description- Returns:
- displayDescription
-
setDisplayDescription
public void setDisplayDescription(String displayDescription)
-
state
public Task state(ActivityState state)
-
getState
@Nullable public ActivityState getState()
Get state- Returns:
- state
-
setState
public void setState(ActivityState state)
-
getReachedStateDate
@Nullable public String getReachedStateDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task reached the current state for example '2014-10-17 16:05:42.626'- Returns:
- reachedStateDate
-
setReachedStateDate
public void setReachedStateDate(String reachedStateDate)
-
getLastUpdateDate
@Nullable public String getLastUpdateDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task was last updated for example '2014-10-17 16:05:42.626)- Returns:
- lastUpdateDate
-
setLastUpdateDate
public void setLastUpdateDate(String lastUpdateDate)
-
getDueDate
@Nullable public String getDueDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task is due for example '2014-10-17 16:05:42.626'- Returns:
- dueDate
-
setDueDate
public void setDueDate(String dueDate)
-
getPriority
@Nullable public String getPriority()
the priority (string) of the current task- Returns:
- priority
-
setPriority
public void setPriority(String priority)
-
getProcessId
@Nullable public String getProcessId()
the process definition id of the process instance which define this task- Returns:
- processId
-
setProcessId
public void setProcessId(String processId)
-
getParentCaseId
@Nullable public String getParentCaseId()
the immediate containing process instance id (case id)- Returns:
- parentCaseId
-
setParentCaseId
public void setParentCaseId(String parentCaseId)
-
setParentTaskId
public void setParentTaskId(String parentTaskId)
-
getRootCaseId
@Nullable public String getRootCaseId()
the top/root process instance id (case id). In case of an \"event sub process\" `parentCaseId` will the id of the process instance called while `rootCaseId` will be the one from the caller process instance- Returns:
- rootCaseId
-
setRootCaseId
public void setRootCaseId(String rootCaseId)
-
getRootContainerId
@Nullable public String getRootContainerId()
same as rootCaseId- Returns:
- rootContainerId
-
setRootContainerId
public void setRootContainerId(String rootContainerId)
-
getExecutedBy
@Nullable public String getExecutedBy()
the id of the user who performed this task. The task has to be a human task otherwise its value will be 0- Returns:
- executedBy
-
setExecutedBy
public void setExecutedBy(String executedBy)
-
getExecutedBySubstitute
@Nullable public String getExecutedBySubstitute()
the id of the user who did actually performed the task when it has been done in the name of someone else. Value is 0 otherwise- Returns:
- executedBySubstitute
-
setExecutedBySubstitute
public void setExecutedBySubstitute(String executedBySubstitute)
-
getActorId
@Nullable public String getActorId()
the id of the actor that can execute this task null otherwise- Returns:
- actorId
-
setActorId
public void setActorId(String actorId)
-
getAssignedId
@Nullable public String getAssignedId()
the user id that this task is assigned to or 0 if it is unassigned- Returns:
- assignedId
-
setAssignedId
public void setAssignedId(String assignedId)
-
getAssignedDate
@Nullable public String getAssignedDate()
the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current task was assigned for example '2014-10-17 16:05:42.626'- Returns:
- assignedDate
-
setAssignedDate
public void setAssignedDate(String assignedDate)
-
getIsTerminal
@Nullable public Boolean getIsTerminal()
True if the task is the last one in a flow- Returns:
- isTerminal
-
setIsTerminal
public void setIsTerminal(Boolean isTerminal)
-
-