Package org.bonitasoft.web.client.model
Class ProcessInstance
- java.lang.Object
-
- org.bonitasoft.web.client.model.ProcessInstance
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ProcessInstance extends Object implements Serializable
ProcessInstance (Case) is an instance of a process. When you start a process, it creates a process instances.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVE_FLOW_NODESstatic StringJSON_PROPERTY_END_DATEstatic StringJSON_PROPERTY_FAILED_FLOW_NODESstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LAST_UPDATE_DATEstatic StringJSON_PROPERTY_PROCESS_DEFINITION_IDstatic StringJSON_PROPERTY_ROOT_CASE_IDstatic StringJSON_PROPERTY_SEARCH_INDEX1_LABELstatic StringJSON_PROPERTY_SEARCH_INDEX1_VALUEstatic StringJSON_PROPERTY_SEARCH_INDEX2_LABELstatic StringJSON_PROPERTY_SEARCH_INDEX2_VALUEstatic StringJSON_PROPERTY_SEARCH_INDEX3_LABELstatic StringJSON_PROPERTY_SEARCH_INDEX3_VALUEstatic StringJSON_PROPERTY_SEARCH_INDEX4_LABELstatic StringJSON_PROPERTY_SEARCH_INDEX4_VALUEstatic StringJSON_PROPERTY_SEARCH_INDEX5_LABELstatic StringJSON_PROPERTY_SEARCH_INDEX5_VALUEstatic StringJSON_PROPERTY_STARTstatic StringJSON_PROPERTY_STARTED_BYstatic StringJSON_PROPERTY_STARTED_BY_SUBSTITUTEstatic StringJSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description ProcessInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessInstanceactiveFlowNodes(String activeFlowNodes)ProcessInstanceendDate(String endDate)booleanequals(Object o)ProcessInstancefailedFlowNodes(String failedFlowNodes)StringgetActiveFlowNodes()count of active flow nodes if parameter n=activeFlowNodes is givenStringgetEndDate()the date set when the process instance is closedStringgetFailedFlowNodes()count of failed flow nodes if parameter n=failedFlowNodes is givenStringgetId()the identifier of the ProcessInstance (Case)StringgetLastUpdateDate()the date of the last update done on the caseStringgetProcessDefinitionId()the identifier of the process related of the caseStringgetRootCaseId()the identifier of the container of the caseStringgetSearchIndex1Label()the 1st search index label (from 6.5, in Subscription editions only)StringgetSearchIndex1Value()the 1st search index value (from 6.5, in Subscription editions only)StringgetSearchIndex2Label()the 2nd search index label (from 6.5, in Subscription editions only)StringgetSearchIndex2Value()the 2nd search index value (from 6.5, in Subscription editions only)StringgetSearchIndex3Label()the 3rd search index label (from 6.5, in Subscription editions only)StringgetSearchIndex3Value()the 3rd search index value (from 6.5, in Subscription editions only)StringgetSearchIndex4Label()the 4th search index label (from 6.5, in Subscription editions only)StringgetSearchIndex4Value()the 4th search index value (from 6.5, in Subscription editions only)StringgetSearchIndex5Label()the 5th search index label (from 6.5, in Subscription editions only)StringgetSearchIndex5Value()the 5th search index value (from 6.5, in Subscription editions only)StringgetStart()the starting date of the caseStringgetStartedBy()the identifier of the user who started the caseStringgetStartedBySubstitute()the identifier of the substitute user (as Process manager or Administrator) who started the process.StringgetState()state: an enum that represent the state of the process instances, it can be INITIALIZING, STARTED, SUSPENDED, CANCELLED, ABORTED, COMPLETING, COMPLETED, ERROR, ABORTINGinthashCode()ProcessInstanceid(String id)ProcessInstancelastUpdateDate(String lastUpdateDate)ProcessInstanceprocessDefinitionId(String processDefinitionId)ProcessInstancerootCaseId(String rootCaseId)ProcessInstancesearchIndex1Label(String searchIndex1Label)ProcessInstancesearchIndex1Value(String searchIndex1Value)ProcessInstancesearchIndex2Label(String searchIndex2Label)ProcessInstancesearchIndex2Value(String searchIndex2Value)ProcessInstancesearchIndex3Label(String searchIndex3Label)ProcessInstancesearchIndex3Value(String searchIndex3Value)ProcessInstancesearchIndex4Label(String searchIndex4Label)ProcessInstancesearchIndex4Value(String searchIndex4Value)ProcessInstancesearchIndex5Label(String searchIndex5Label)ProcessInstancesearchIndex5Value(String searchIndex5Value)voidsetActiveFlowNodes(String activeFlowNodes)voidsetEndDate(String endDate)voidsetFailedFlowNodes(String failedFlowNodes)voidsetId(String id)voidsetLastUpdateDate(String lastUpdateDate)voidsetProcessDefinitionId(String processDefinitionId)voidsetRootCaseId(String rootCaseId)voidsetSearchIndex1Label(String searchIndex1Label)voidsetSearchIndex1Value(String searchIndex1Value)voidsetSearchIndex2Label(String searchIndex2Label)voidsetSearchIndex2Value(String searchIndex2Value)voidsetSearchIndex3Label(String searchIndex3Label)voidsetSearchIndex3Value(String searchIndex3Value)voidsetSearchIndex4Label(String searchIndex4Label)voidsetSearchIndex4Value(String searchIndex4Value)voidsetSearchIndex5Label(String searchIndex5Label)voidsetSearchIndex5Value(String searchIndex5Value)voidsetStart(String start)voidsetStartedBy(String startedBy)voidsetStartedBySubstitute(String startedBySubstitute)voidsetState(String state)ProcessInstancestart(String start)ProcessInstancestartedBy(String startedBy)ProcessInstancestartedBySubstitute(String startedBySubstitute)ProcessInstancestate(String state)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_END_DATE
public static final String JSON_PROPERTY_END_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILED_FLOW_NODES
public static final String JSON_PROPERTY_FAILED_FLOW_NODES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STARTED_BY_SUBSTITUTE
public static final String JSON_PROPERTY_STARTED_BY_SUBSTITUTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_START
public static final String JSON_PROPERTY_START
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTIVE_FLOW_NODES
public static final String JSON_PROPERTY_ACTIVE_FLOW_NODES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- 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_STARTED_BY
public static final String JSON_PROPERTY_STARTED_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
public static final String JSON_PROPERTY_PROCESS_DEFINITION_ID
- 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_SEARCH_INDEX1_LABEL
public static final String JSON_PROPERTY_SEARCH_INDEX1_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX2_LABEL
public static final String JSON_PROPERTY_SEARCH_INDEX2_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX3_LABEL
public static final String JSON_PROPERTY_SEARCH_INDEX3_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX4_LABEL
public static final String JSON_PROPERTY_SEARCH_INDEX4_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX5_LABEL
public static final String JSON_PROPERTY_SEARCH_INDEX5_LABEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX1_VALUE
public static final String JSON_PROPERTY_SEARCH_INDEX1_VALUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX2_VALUE
public static final String JSON_PROPERTY_SEARCH_INDEX2_VALUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX3_VALUE
public static final String JSON_PROPERTY_SEARCH_INDEX3_VALUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX4_VALUE
public static final String JSON_PROPERTY_SEARCH_INDEX4_VALUE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEARCH_INDEX5_VALUE
public static final String JSON_PROPERTY_SEARCH_INDEX5_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ProcessInstance id(String id)
-
setId
public void setId(String id)
-
endDate
public ProcessInstance endDate(String endDate)
-
getEndDate
@Nullable public String getEndDate()
the date set when the process instance is closed- Returns:
- endDate
-
setEndDate
public void setEndDate(String endDate)
-
failedFlowNodes
public ProcessInstance failedFlowNodes(String failedFlowNodes)
-
getFailedFlowNodes
@Nullable public String getFailedFlowNodes()
count of failed flow nodes if parameter n=failedFlowNodes is given- Returns:
- failedFlowNodes
-
setFailedFlowNodes
public void setFailedFlowNodes(String failedFlowNodes)
-
startedBySubstitute
public ProcessInstance startedBySubstitute(String startedBySubstitute)
-
getStartedBySubstitute
@Nullable public String getStartedBySubstitute()
the identifier of the substitute user (as Process manager or Administrator) who started the process. It can be also the substitute user if d=startedBySubstitute is given.- Returns:
- startedBySubstitute
-
setStartedBySubstitute
public void setStartedBySubstitute(String startedBySubstitute)
-
start
public ProcessInstance start(String start)
-
setStart
public void setStart(String start)
-
activeFlowNodes
public ProcessInstance activeFlowNodes(String activeFlowNodes)
-
getActiveFlowNodes
@Nullable public String getActiveFlowNodes()
count of active flow nodes if parameter n=activeFlowNodes is given- Returns:
- activeFlowNodes
-
setActiveFlowNodes
public void setActiveFlowNodes(String activeFlowNodes)
-
state
public ProcessInstance state(String state)
-
getState
@Nullable public String getState()
state: an enum that represent the state of the process instances, it can be INITIALIZING, STARTED, SUSPENDED, CANCELLED, ABORTED, COMPLETING, COMPLETED, ERROR, ABORTING- Returns:
- state
-
setState
public void setState(String state)
-
rootCaseId
public ProcessInstance rootCaseId(String rootCaseId)
-
getRootCaseId
@Nullable public String getRootCaseId()
the identifier of the container of the case- Returns:
- rootCaseId
-
setRootCaseId
public void setRootCaseId(String rootCaseId)
-
startedBy
public ProcessInstance startedBy(String startedBy)
-
getStartedBy
@Nullable public String getStartedBy()
the identifier of the user who started the case- Returns:
- startedBy
-
setStartedBy
public void setStartedBy(String startedBy)
-
processDefinitionId
public ProcessInstance processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
@Nullable public String getProcessDefinitionId()
the identifier of the process related of the case- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
lastUpdateDate
public ProcessInstance lastUpdateDate(String lastUpdateDate)
-
getLastUpdateDate
@Nullable public String getLastUpdateDate()
the date of the last update done on the case- Returns:
- lastUpdateDate
-
setLastUpdateDate
public void setLastUpdateDate(String lastUpdateDate)
-
searchIndex1Label
public ProcessInstance searchIndex1Label(String searchIndex1Label)
-
getSearchIndex1Label
@Nullable public String getSearchIndex1Label()
the 1st search index label (from 6.5, in Subscription editions only)- Returns:
- searchIndex1Label
-
setSearchIndex1Label
public void setSearchIndex1Label(String searchIndex1Label)
-
searchIndex2Label
public ProcessInstance searchIndex2Label(String searchIndex2Label)
-
getSearchIndex2Label
@Nullable public String getSearchIndex2Label()
the 2nd search index label (from 6.5, in Subscription editions only)- Returns:
- searchIndex2Label
-
setSearchIndex2Label
public void setSearchIndex2Label(String searchIndex2Label)
-
searchIndex3Label
public ProcessInstance searchIndex3Label(String searchIndex3Label)
-
getSearchIndex3Label
@Nullable public String getSearchIndex3Label()
the 3rd search index label (from 6.5, in Subscription editions only)- Returns:
- searchIndex3Label
-
setSearchIndex3Label
public void setSearchIndex3Label(String searchIndex3Label)
-
searchIndex4Label
public ProcessInstance searchIndex4Label(String searchIndex4Label)
-
getSearchIndex4Label
@Nullable public String getSearchIndex4Label()
the 4th search index label (from 6.5, in Subscription editions only)- Returns:
- searchIndex4Label
-
setSearchIndex4Label
public void setSearchIndex4Label(String searchIndex4Label)
-
searchIndex5Label
public ProcessInstance searchIndex5Label(String searchIndex5Label)
-
getSearchIndex5Label
@Nullable public String getSearchIndex5Label()
the 5th search index label (from 6.5, in Subscription editions only)- Returns:
- searchIndex5Label
-
setSearchIndex5Label
public void setSearchIndex5Label(String searchIndex5Label)
-
searchIndex1Value
public ProcessInstance searchIndex1Value(String searchIndex1Value)
-
getSearchIndex1Value
@Nullable public String getSearchIndex1Value()
the 1st search index value (from 6.5, in Subscription editions only)- Returns:
- searchIndex1Value
-
setSearchIndex1Value
public void setSearchIndex1Value(String searchIndex1Value)
-
searchIndex2Value
public ProcessInstance searchIndex2Value(String searchIndex2Value)
-
getSearchIndex2Value
@Nullable public String getSearchIndex2Value()
the 2nd search index value (from 6.5, in Subscription editions only)- Returns:
- searchIndex2Value
-
setSearchIndex2Value
public void setSearchIndex2Value(String searchIndex2Value)
-
searchIndex3Value
public ProcessInstance searchIndex3Value(String searchIndex3Value)
-
getSearchIndex3Value
@Nullable public String getSearchIndex3Value()
the 3rd search index value (from 6.5, in Subscription editions only)- Returns:
- searchIndex3Value
-
setSearchIndex3Value
public void setSearchIndex3Value(String searchIndex3Value)
-
searchIndex4Value
public ProcessInstance searchIndex4Value(String searchIndex4Value)
-
getSearchIndex4Value
@Nullable public String getSearchIndex4Value()
the 4th search index value (from 6.5, in Subscription editions only)- Returns:
- searchIndex4Value
-
setSearchIndex4Value
public void setSearchIndex4Value(String searchIndex4Value)
-
searchIndex5Value
public ProcessInstance searchIndex5Value(String searchIndex5Value)
-
getSearchIndex5Value
@Nullable public String getSearchIndex5Value()
the 5th search index value (from 6.5, in Subscription editions only)- Returns:
- searchIndex5Value
-
setSearchIndex5Value
public void setSearchIndex5Value(String searchIndex5Value)
-
-