public class DecisionRequirementsDiagramHelper extends Object
| Constructor and Description |
|---|
DecisionRequirementsDiagramHelper() |
| Modifier and Type | Method and Description |
|---|---|
DmnResourceEntity |
createDiagramForDecision(DecisionEntity decision,
DmnDefinition dmnDefinition)
Generates a diagram resource for a DecisionEntity.
|
protected DmnResourceEntity |
createResourceEntity() |
boolean |
shouldCreateDiagram(DecisionEntity decision,
EngineDeployment deployment) |
public DmnResourceEntity createDiagramForDecision(DecisionEntity decision, DmnDefinition dmnDefinition)
The caller must determine whether creating a diagram for this decision is appropriate or not, for example see shouldCreateDiagram(org.flowable.dmn.engine.impl.persistence.entity.DecisionEntity, org.flowable.common.engine.api.repository.EngineDeployment).
protected DmnResourceEntity createResourceEntity()
public boolean shouldCreateDiagram(DecisionEntity decision, EngineDeployment deployment)
Copyright © 2021 Flowable. All rights reserved.