WorkflowInstance.Builder |
WorkflowInstanceFactory.newWorkflowInstanceBuilder() |
Return a new workflow instance builder.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.putStateVariable(String key,
Object value) |
Put a state variable to the state variables map.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.putStateVariable(String key,
String value) |
Put a state variable to the state variables map.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.putStateVariable(String key,
Optional<?> optionalValue) |
Put a state variable to the state variables map if the optional value is present.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setActions(List<WorkflowInstanceAction> actions) |
Set the workflow instance actions.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setArchived(boolean isArchived) |
Set whether the workflow instance is stored in archive or main tables.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setBusinessKey(String businessKey) |
Set the business key.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setCreated(org.joda.time.DateTime created) |
Set the creation timestamp.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setExecutorGroup(String executorGroup) |
Set the executor group name.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setExecutorId(Integer executorId) |
Set the executor instance identifier.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setExternalId(String externalId) |
Set the external identifier.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setId(long id) |
Set the workflow instance identifier.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setModified(org.joda.time.DateTime modified) |
Set the modification timestamp.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setNextActivation(org.joda.time.DateTime nextActivation) |
Set the next activation time.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setOriginalStateVariables(Map<String,String> originalStateVariables) |
Set the original state variables.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setParentActionId(Long parentActionId) |
Set the parent workflow identifier.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setParentWorkflowId(Long parentWorkflowId) |
Set the parent workflow identifier.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setPriority(Short priority) |
Set the priority of the workflow instance.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setRetries(int retries) |
Set the number of retries.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setSignal(Optional<Integer> signal) |
Set the signal value.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setStartedIfNotSet(org.joda.time.DateTime started) |
Set the started timestamp if it has not already been set.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setState(WorkflowState state) |
Set the state.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setState(String state) |
Set the state.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setStateText(String stateText) |
Set the state text.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setStateVariables(Map<String,String> stateVariables) |
Set the state variables.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setStatus(WorkflowInstance.WorkflowInstanceStatus status) |
Set the status.
|
WorkflowInstance.Builder |
WorkflowInstance.Builder.setType(String type) |
Set the type of the workflow definition.
|