Class ProcessInstanceModificationInstructionDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.runtime.modification.ProcessInstanceModificationInstructionDto
-
- Direct Known Subclasses:
CancellationInstructionDto
,StartAfterInstructionDto
,StartBeforeInstructionDto
,StartTransitionInstructionDto
public abstract class ProcessInstanceModificationInstructionDto extends java.lang.Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
activityId
protected java.lang.String
activityInstanceId
protected java.lang.String
ancestorActivityInstanceId
static java.lang.String
CANCEL_INSTRUCTION_TYPE
protected boolean
cancelCurrentActiveActivityInstances
static java.lang.String
START_AFTER_INSTRUCTION_TYPE
static java.lang.String
START_BEFORE_INSTRUCTION_TYPE
static java.lang.String
START_TRANSITION_INSTRUCTION_TYPE
protected java.lang.String
transitionId
protected java.lang.String
transitionInstanceId
protected java.lang.String
type
protected java.util.Map<java.lang.String,TriggerVariableValueDto>
variables
-
Constructor Summary
Constructors Constructor Description ProcessInstanceModificationInstructionDto()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
applyTo(InstantiationBuilder<?> builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
abstract void
applyTo(ProcessInstanceModificationBuilder builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
protected void
applyVariables(ActivityInstantiationBuilder<?> builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
protected java.lang.String
buildErrorMessage(java.lang.String message)
java.lang.String
getActivityId()
java.lang.String
getActivityInstanceId()
java.lang.String
getAncestorActivityInstanceId()
java.lang.String
getTransitionId()
java.lang.String
getTransitionInstanceId()
java.lang.String
getType()
java.util.Map<java.lang.String,TriggerVariableValueDto>
getVariables()
boolean
isCancelCurrentActiveActivityInstances()
void
setActivityId(java.lang.String activityId)
void
setActivityInstanceId(java.lang.String activityInstanceId)
void
setAncestorActivityInstanceId(java.lang.String ancestorActivityInstanceId)
void
setCancelCurrentActiveActivityInstances(boolean cancelCurrentActiveActivityInstances)
void
setTransitionId(java.lang.String transitionId)
void
setTransitionInstanceId(java.lang.String transitionInstanceId)
void
setType(java.lang.String type)
void
setVariables(java.util.Map<java.lang.String,TriggerVariableValueDto> variables)
-
-
-
Field Detail
-
CANCEL_INSTRUCTION_TYPE
public static final java.lang.String CANCEL_INSTRUCTION_TYPE
- See Also:
- Constant Field Values
-
START_BEFORE_INSTRUCTION_TYPE
public static final java.lang.String START_BEFORE_INSTRUCTION_TYPE
- See Also:
- Constant Field Values
-
START_TRANSITION_INSTRUCTION_TYPE
public static final java.lang.String START_TRANSITION_INSTRUCTION_TYPE
- See Also:
- Constant Field Values
-
START_AFTER_INSTRUCTION_TYPE
public static final java.lang.String START_AFTER_INSTRUCTION_TYPE
- See Also:
- Constant Field Values
-
type
protected java.lang.String type
-
variables
protected java.util.Map<java.lang.String,TriggerVariableValueDto> variables
-
activityId
protected java.lang.String activityId
-
transitionId
protected java.lang.String transitionId
-
activityInstanceId
protected java.lang.String activityInstanceId
-
transitionInstanceId
protected java.lang.String transitionInstanceId
-
ancestorActivityInstanceId
protected java.lang.String ancestorActivityInstanceId
-
cancelCurrentActiveActivityInstances
protected boolean cancelCurrentActiveActivityInstances
-
-
Method Detail
-
getVariables
public java.util.Map<java.lang.String,TriggerVariableValueDto> getVariables()
-
setVariables
public void setVariables(java.util.Map<java.lang.String,TriggerVariableValueDto> variables)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getActivityId
public java.lang.String getActivityId()
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
getTransitionId
public java.lang.String getTransitionId()
-
setTransitionId
public void setTransitionId(java.lang.String transitionId)
-
getActivityInstanceId
public java.lang.String getActivityInstanceId()
-
setActivityInstanceId
public void setActivityInstanceId(java.lang.String activityInstanceId)
-
getTransitionInstanceId
public java.lang.String getTransitionInstanceId()
-
setTransitionInstanceId
public void setTransitionInstanceId(java.lang.String transitionInstanceId)
-
getAncestorActivityInstanceId
public java.lang.String getAncestorActivityInstanceId()
-
setAncestorActivityInstanceId
public void setAncestorActivityInstanceId(java.lang.String ancestorActivityInstanceId)
-
isCancelCurrentActiveActivityInstances
public boolean isCancelCurrentActiveActivityInstances()
-
setCancelCurrentActiveActivityInstances
public void setCancelCurrentActiveActivityInstances(boolean cancelCurrentActiveActivityInstances)
-
applyTo
public abstract void applyTo(ProcessInstanceModificationBuilder builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
applyTo
public abstract void applyTo(InstantiationBuilder<?> builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
buildErrorMessage
protected java.lang.String buildErrorMessage(java.lang.String message)
-
applyVariables
protected void applyVariables(ActivityInstantiationBuilder<?> builder, ProcessEngine engine, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-