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 Details Link icon

    • getKey Link icon

      String getKey()
      The unique identifier of the decision if exists.
      Returns:
      the identifier or null if not set
    • getName Link icon

      String getName()
      The human readable name of the decision if exists.
      Returns:
      the name or null if not set
    • isDecisionTable Link icon

      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 Link icon

      DmnDecisionLogic getDecisionLogic()
      Returns the decision logic of the decision (e.g., a decision table).
      Returns:
      the containing decision logic
    • getRequiredDecisions Link icon

      Collection<DmnDecision> getRequiredDecisions()
      Returns the required decisions of this decision.
      Returns:
      the required decisions or an empty collection if not exists.