Class DecisionDefinitionResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.repository.impl.DecisionDefinitionResourceImpl
- All Implemented Interfaces:
DecisionDefinitionResource
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected ProcessEngine
protected com.fasterxml.jackson.databind.ObjectMapper
protected String
-
Constructor Summary
ConstructorDescriptionDecisionDefinitionResourceImpl
(ProcessEngine engine, String decisionDefinitionId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Map<String,
VariableValueDto>> createDecisionResultDto
(DmnDecisionResult decisionResult) protected Map<String,
VariableValueDto> evaluateDecision
(javax.ws.rs.core.UriInfo context, EvaluateDecisionDto parameters) javax.ws.rs.core.Response
void
updateHistoryTimeToLive
(HistoryTimeToLiveDto historyTimeToLiveDto)
-
Field Details
-
engine
-
decisionDefinitionId
-
rootResourcePath
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
DecisionDefinitionResourceImpl
public DecisionDefinitionResourceImpl(ProcessEngine engine, String decisionDefinitionId, String rootResourcePath, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getDecisionDefinition
- Specified by:
getDecisionDefinition
in interfaceDecisionDefinitionResource
-
getDecisionDefinitionDmnXml
- Specified by:
getDecisionDefinitionDmnXml
in interfaceDecisionDefinitionResource
-
getDecisionDefinitionDiagram
public javax.ws.rs.core.Response getDecisionDefinitionDiagram()- Specified by:
getDecisionDefinitionDiagram
in interfaceDecisionDefinitionResource
-
evaluateDecision
public List<Map<String,VariableValueDto>> evaluateDecision(javax.ws.rs.core.UriInfo context, EvaluateDecisionDto parameters) - Specified by:
evaluateDecision
in interfaceDecisionDefinitionResource
-
updateHistoryTimeToLive
- Specified by:
updateHistoryTimeToLive
in interfaceDecisionDefinitionResource
-
createDecisionResultDto
protected List<Map<String,VariableValueDto>> createDecisionResultDto(DmnDecisionResult decisionResult) -
createResultEntriesDto
-