Package org.camunda.bpm.dmn.engine
Interface DmnDecision
-
- All Known Implementing Classes:
DecisionDefinitionEntity
,DmnDecisionImpl
public interface DmnDecision
A decision of the DMN Engine.Decisions can be implement in different ways. To check if the decision is implemented as a Decision Table see
isDecisionTable()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DmnDecisionLogic
getDecisionLogic()
Returns the decision logic of the decision (e.g., a decision table).java.lang.String
getKey()
The unique identifier of the decision if exists.java.lang.String
getName()
The human readable name of the decision if exists.java.util.Collection<DmnDecision>
getRequiredDecisions()
Returns the required decisions of this decision.boolean
isDecisionTable()
Checks if the decision logic is implemented as Decision Table.
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
The unique identifier of the decision if exists.- Returns:
- the identifier or null if not set
-
getName
java.lang.String getName()
The human readable name of the decision if exists.- Returns:
- the name or null if not set
-
isDecisionTable
boolean isDecisionTable()
Checks if the decision logic is implemented as Decision Table.- Returns:
- true if the decision logic is implement as Decision Table, otherwise false
-
getDecisionLogic
DmnDecisionLogic getDecisionLogic()
Returns the decision logic of the decision (e.g., a decision table).- Returns:
- the containing decision logic
-
getRequiredDecisions
java.util.Collection<DmnDecision> getRequiredDecisions()
Returns the required decisions of this decision.- Returns:
- the required decisions or an empty collection if not exists.
-
-