Package org.flowable.engine.impl.cmd
Class GetDecisionsForProcessDefinitionCmd
- java.lang.Object
-
- org.flowable.engine.impl.cmd.GetDecisionsForProcessDefinitionCmd
-
- All Implemented Interfaces:
Serializable,Command<List<DmnDecision>>
public class GetDecisionsForProcessDefinitionCmd extends Object implements Command<List<DmnDecision>>, Serializable
- Author:
- Yvo Swillens
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DmnRepositoryServicedmnRepositoryServiceprotected StringprocessDefinitionId
-
Constructor Summary
Constructors Constructor Description GetDecisionsForProcessDefinitionCmd(String processDefinitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDecisionToCollection(List<DmnDecision> decisions, String decisionKey, ProcessDefinition processDefinition)List<DmnDecision>execute(CommandContext commandContext)protected List<DmnDecision>getDecisionsFromModel(org.flowable.bpmn.model.BpmnModel bpmnModel, ProcessDefinition processDefinition)
-
-
-
Field Detail
-
processDefinitionId
protected String processDefinitionId
-
dmnRepositoryService
protected DmnRepositoryService dmnRepositoryService
-
-
Constructor Detail
-
GetDecisionsForProcessDefinitionCmd
public GetDecisionsForProcessDefinitionCmd(String processDefinitionId)
-
-
Method Detail
-
execute
public List<DmnDecision> execute(CommandContext commandContext)
- Specified by:
executein interfaceCommand<List<DmnDecision>>
-
getDecisionsFromModel
protected List<DmnDecision> getDecisionsFromModel(org.flowable.bpmn.model.BpmnModel bpmnModel, ProcessDefinition processDefinition)
-
addDecisionToCollection
protected void addDecisionToCollection(List<DmnDecision> decisions, String decisionKey, ProcessDefinition processDefinition)
-
-