|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.dmn.engine.impl.transform.DefaultDmnTransform
public class DefaultDmnTransform
| Field Summary | |
|---|---|
protected DmnDataTypeTransformerRegistry |
dataTypeTransformerRegistry
|
protected DmnDecisionImpl |
decision
|
protected DmnDecisionTableImpl |
decisionTable
|
protected DmnElementTransformHandlerRegistry |
handlerRegistry
|
protected DmnHitPolicyHandlerRegistry |
hitPolicyHandlerRegistry
|
protected org.camunda.bpm.model.dmn.DmnModelInstance |
modelInstance
|
protected Object |
parent
|
protected DmnTransformer |
transformer
|
protected List<DmnTransformListener> |
transformListeners
|
| Constructor Summary | |
|---|---|
DefaultDmnTransform(DmnTransformer transformer)
|
|
| Method Summary | ||
|---|---|---|
protected void |
buildDecisionRequirements(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions,
Map<String,DmnDecisionImpl> dmnDecisions)
|
|
protected void |
ensureNoLoopInDecision(DmnDecision decision,
List<String> parentDecisionList,
List<String> visitedDecisions)
|
|
protected void |
ensureNoLoopInDecisions(List<DmnDecision> dmnDecisionList)
|
|
DmnDataTypeTransformerRegistry |
getDataTypeTransformerRegistry()
|
|
DmnDecision |
getDecision()
|
|
DmnHitPolicyHandlerRegistry |
getHitPolicyHandlerRegistry()
|
|
org.camunda.bpm.model.dmn.DmnModelInstance |
getModelInstance()
|
|
Object |
getParent()
|
|
protected List<DmnDecision> |
getRequiredDmnDecisions(org.camunda.bpm.model.dmn.instance.Decision decision,
Map<String,DmnDecisionImpl> dmnDecisions)
|
|
DmnTransform |
modelInstance(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance)
Set the DMN model instance to transform. |
|
DmnTransform |
modelInstance(File file)
Set the DMN model instance to transform as file. |
|
DmnTransform |
modelInstance(InputStream inputStream)
Set the DMN model instance to transform as input stream. |
|
protected void |
notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Decision decision,
DmnDecision dmnDecision)
|
|
protected void |
notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Definitions definitions,
DmnDecisionRequirementsGraphImpl dmnDecisionRequirementsGraph)
|
|
protected void |
notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Input input,
DmnDecisionTableInputImpl dmnInput)
|
|
protected void |
notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Output output,
DmnDecisionTableOutputImpl dmnOutput)
|
|
protected void |
notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Rule rule,
DmnDecisionTableRuleImpl dmnRule)
|
|
void |
setModelInstance(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance)
Set the DMN model instance to transform. |
|
void |
setModelInstance(File file)
Set the DMN model instance to transform as file. |
|
void |
setModelInstance(InputStream inputStream)
Set the DMN model instance to transform as input stream. |
|
protected DmnDecisionImpl |
transformDecision(org.camunda.bpm.model.dmn.instance.Decision decision)
|
|
protected DmnDecisionLiteralExpressionImpl |
transformDecisionLiteralExpression(org.camunda.bpm.model.dmn.instance.Decision decision,
org.camunda.bpm.model.dmn.instance.LiteralExpression literalExpression)
|
|
|
transformDecisionRequirementsGraph()
Transform the decision requirements graph and all containing decisions of the DMN model instance. |
|
|
transformDecisions()
Transform all decisions of the DMN model instance. |
|
protected List<DmnDecision> |
transformDecisions(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions)
|
|
protected DmnDecisionTableImpl |
transformDecisionTable(org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable)
|
|
protected DmnDecisionTableInputImpl |
transformDecisionTableInput(org.camunda.bpm.model.dmn.instance.Input input)
|
|
protected DmnDecisionTableOutputImpl |
transformDecisionTableOutput(org.camunda.bpm.model.dmn.instance.Output output)
|
|
protected DmnDecisionTableRuleImpl |
transformDecisionTableRule(org.camunda.bpm.model.dmn.instance.Rule rule)
|
|
protected DmnDecisionRequirementsGraph |
transformDefinitions(org.camunda.bpm.model.dmn.instance.Definitions definitions)
|
|
protected Map<String,DmnDecisionImpl> |
transformIndividualDecisions(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions)
|
|
protected DmnExpressionImpl |
transformInputEntry(org.camunda.bpm.model.dmn.instance.InputEntry inputEntry)
|
|
protected DmnExpressionImpl |
transformInputExpression(org.camunda.bpm.model.dmn.instance.InputExpression inputExpression)
|
|
protected DmnExpressionImpl |
transformLiteralExpression(org.camunda.bpm.model.dmn.instance.LiteralExpression literalExpression)
|
|
protected DmnExpressionImpl |
transformOutputEntry(org.camunda.bpm.model.dmn.instance.OutputEntry outputEntry)
|
|
protected DmnVariableImpl |
transformVariable(org.camunda.bpm.model.dmn.instance.Variable variable)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DmnTransformer transformer
protected List<DmnTransformListener> transformListeners
protected DmnElementTransformHandlerRegistry handlerRegistry
protected org.camunda.bpm.model.dmn.DmnModelInstance modelInstance
protected Object parent
protected DmnDecisionImpl decision
protected DmnDecisionTableImpl decisionTable
protected DmnDataTypeTransformerRegistry dataTypeTransformerRegistry
protected DmnHitPolicyHandlerRegistry hitPolicyHandlerRegistry
| Constructor Detail |
|---|
public DefaultDmnTransform(DmnTransformer transformer)
| Method Detail |
|---|
public void setModelInstance(File file)
DmnTransform
setModelInstance in interface DmnTransformfile - the file of the DMN model instancepublic DmnTransform modelInstance(File file)
DmnTransform
modelInstance in interface DmnTransformfile - the file of the DMN model instance
public void setModelInstance(InputStream inputStream)
DmnTransform
setModelInstance in interface DmnTransforminputStream - the input stream of the DMN model instancepublic DmnTransform modelInstance(InputStream inputStream)
DmnTransform
modelInstance in interface DmnTransforminputStream - the input stream of the DMN model instance
public void setModelInstance(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance)
DmnTransform
setModelInstance in interface DmnTransformmodelInstance - the DMN model instancepublic DmnTransform modelInstance(org.camunda.bpm.model.dmn.DmnModelInstance modelInstance)
DmnTransform
modelInstance in interface DmnTransformmodelInstance - the DMN model instance
public <T extends DmnDecisionRequirementsGraph> T transformDecisionRequirementsGraph()
DmnTransform
transformDecisionRequirementsGraph in interface DmnTransformprotected DmnDecisionRequirementsGraph transformDefinitions(org.camunda.bpm.model.dmn.instance.Definitions definitions)
public <T extends DmnDecision> List<T> transformDecisions()
DmnTransform
transformDecisions in interface DmnTransformprotected List<DmnDecision> transformDecisions(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions)
protected Map<String,DmnDecisionImpl> transformIndividualDecisions(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions)
protected void buildDecisionRequirements(Collection<org.camunda.bpm.model.dmn.instance.Decision> decisions,
Map<String,DmnDecisionImpl> dmnDecisions)
protected void ensureNoLoopInDecisions(List<DmnDecision> dmnDecisionList)
protected void ensureNoLoopInDecision(DmnDecision decision,
List<String> parentDecisionList,
List<String> visitedDecisions)
protected List<DmnDecision> getRequiredDmnDecisions(org.camunda.bpm.model.dmn.instance.Decision decision,
Map<String,DmnDecisionImpl> dmnDecisions)
protected DmnDecisionImpl transformDecision(org.camunda.bpm.model.dmn.instance.Decision decision)
protected DmnDecisionTableImpl transformDecisionTable(org.camunda.bpm.model.dmn.instance.DecisionTable decisionTable)
protected DmnDecisionTableInputImpl transformDecisionTableInput(org.camunda.bpm.model.dmn.instance.Input input)
protected DmnDecisionTableOutputImpl transformDecisionTableOutput(org.camunda.bpm.model.dmn.instance.Output output)
protected DmnDecisionTableRuleImpl transformDecisionTableRule(org.camunda.bpm.model.dmn.instance.Rule rule)
protected DmnExpressionImpl transformInputExpression(org.camunda.bpm.model.dmn.instance.InputExpression inputExpression)
protected DmnExpressionImpl transformInputEntry(org.camunda.bpm.model.dmn.instance.InputEntry inputEntry)
protected DmnExpressionImpl transformOutputEntry(org.camunda.bpm.model.dmn.instance.OutputEntry outputEntry)
protected DmnDecisionLiteralExpressionImpl transformDecisionLiteralExpression(org.camunda.bpm.model.dmn.instance.Decision decision,
org.camunda.bpm.model.dmn.instance.LiteralExpression literalExpression)
protected DmnExpressionImpl transformLiteralExpression(org.camunda.bpm.model.dmn.instance.LiteralExpression literalExpression)
protected DmnVariableImpl transformVariable(org.camunda.bpm.model.dmn.instance.Variable variable)
protected void notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Decision decision,
DmnDecision dmnDecision)
protected void notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Input input,
DmnDecisionTableInputImpl dmnInput)
protected void notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Definitions definitions,
DmnDecisionRequirementsGraphImpl dmnDecisionRequirementsGraph)
protected void notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Output output,
DmnDecisionTableOutputImpl dmnOutput)
protected void notifyTransformListeners(org.camunda.bpm.model.dmn.instance.Rule rule,
DmnDecisionTableRuleImpl dmnRule)
public org.camunda.bpm.model.dmn.DmnModelInstance getModelInstance()
getModelInstance in interface DmnElementTransformContextpublic Object getParent()
getParent in interface DmnElementTransformContextpublic DmnDecision getDecision()
getDecision in interface DmnElementTransformContextpublic DmnDataTypeTransformerRegistry getDataTypeTransformerRegistry()
getDataTypeTransformerRegistry in interface DmnElementTransformContextDmnDataTypeTransformerRegistry to usepublic DmnHitPolicyHandlerRegistry getHitPolicyHandlerRegistry()
getHitPolicyHandlerRegistry in interface DmnElementTransformContextDmnHitPolicyHandlerRegistry to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||