|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.ConditionEvaluationBuilderImpl
public class ConditionEvaluationBuilderImpl
| Field Summary | |
|---|---|
protected String |
businessKey
|
protected CommandExecutor |
commandExecutor
|
protected boolean |
isTenantIdSet
|
protected String |
processDefinitionId
|
protected String |
tenantId
|
protected org.camunda.bpm.engine.variable.VariableMap |
variables
|
| Constructor Summary | |
|---|---|
ConditionEvaluationBuilderImpl(CommandExecutor commandExecutor)
|
|
| Method Summary | ||
|---|---|---|
List<ProcessInstance> |
evaluateStartConditions()
|
|
protected
|
execute(Command<T> command)
|
|
String |
getBusinessKey()
|
|
CommandExecutor |
getCommandExecutor()
|
|
String |
getProcessDefinitionId()
|
|
String |
getTenantId()
|
|
org.camunda.bpm.engine.variable.VariableMap |
getVariables()
|
|
boolean |
isTenantIdSet()
|
|
ConditionEvaluationBuilder |
processDefinitionId(String processDefinitionId)
Correlate the condition such that a process definition with the given id is selected. |
|
ConditionEvaluationBuilder |
processInstanceBusinessKey(String businessKey)
Correlate the condition such that the process instance has a business key with the given name. |
|
ConditionEvaluationBuilder |
setVariable(String variableName,
Object variableValue)
Pass a variable to the condition. |
|
ConditionEvaluationBuilder |
setVariables(Map<String,Object> variables)
Pass a variables to the condition. |
|
ConditionEvaluationBuilder |
tenantId(String tenantId)
Specify a tenant to correlate a condition to. |
|
ConditionEvaluationBuilder |
withoutTenantId()
Specify that the condition can only be correlated on process definitions which belongs to no tenant. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CommandExecutor commandExecutor
protected String businessKey
protected String processDefinitionId
protected org.camunda.bpm.engine.variable.VariableMap variables
protected String tenantId
protected boolean isTenantIdSet
| Constructor Detail |
|---|
public ConditionEvaluationBuilderImpl(CommandExecutor commandExecutor)
| Method Detail |
|---|
public CommandExecutor getCommandExecutor()
public String getBusinessKey()
public String getProcessDefinitionId()
public org.camunda.bpm.engine.variable.VariableMap getVariables()
public String getTenantId()
public boolean isTenantIdSet()
protected <T> T execute(Command<T> command)
public ConditionEvaluationBuilder processInstanceBusinessKey(String businessKey)
ConditionEvaluationBuilder
Correlate the condition such that the process instance has a business key with
the given name. If the condition is correlated to a conditional start
event then the given business key is set on the created process instance.
Is only supported for ConditionEvaluationBuilder.evaluateStartConditions().
processInstanceBusinessKey in interface ConditionEvaluationBuilderbusinessKey - the businessKey to correlate on.
public ConditionEvaluationBuilder processDefinitionId(String processDefinitionId)
ConditionEvaluationBuilderCorrelate the condition such that a process definition with the given id is selected.
Is only supported for ConditionEvaluationBuilder.evaluateStartConditions().
processDefinitionId in interface ConditionEvaluationBuilderprocessDefinitionId - the id of the process definition to correlate on.
public ConditionEvaluationBuilder setVariable(String variableName,
Object variableValue)
ConditionEvaluationBuilderPass a variable to the condition.
Invoking this method multiple times allows passing multiple variables.
setVariable in interface ConditionEvaluationBuildervariableName - the name of the variable to setvariableValue - the value of the variable to set
public ConditionEvaluationBuilder setVariables(Map<String,Object> variables)
ConditionEvaluationBuilderPass a variables to the condition.
setVariables in interface ConditionEvaluationBuildervariables - the map of variables
public ConditionEvaluationBuilder tenantId(String tenantId)
ConditionEvaluationBuilder
tenantId in interface ConditionEvaluationBuildertenantId - the id of the tenant
public ConditionEvaluationBuilder withoutTenantId()
ConditionEvaluationBuilder
withoutTenantId in interface ConditionEvaluationBuilderpublic List<ProcessInstance> evaluateStartConditions()
evaluateStartConditions in interface ConditionEvaluationBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||