Package io.camunda.zeebe.dmn
Interface ParsedDecisionRequirementsGraph
- All Known Implementing Classes:
ParsedDmnScalaDrg,ParseFailureMessage
public interface ParsedDecisionRequirementsGraph
A parsed DMN decision requirements graph (DRG). A DRG shows how a decision can be made, and
contains the requirements necessary to make the
decision.- See Also:
-
Method Details
-
getId
String getId()- Returns:
- the id of the DRG, or
nullif the DMN is not valid
-
getName
String getName()- Returns:
- the name of the DRG, or
nullif the DMN is not valid
-
getNamespace
String getNamespace()- Returns:
- the namespace of the DRG, or
nullif the DMN is not valid
-
getDecisions
Collection<ParsedDecision> getDecisions()- Returns:
- the decisions that are contained in the DRG, or an empty collection if the DMN is not valid
-
isValid
boolean isValid()- Returns:
trueif the DMN is valid
-
getFailureMessage
String getFailureMessage()Returns the reason why the DMN is not valid. UseisValid()to check if the DMN is valid or not.- Returns:
- the failure message if the DMN is not valid, or
nullif the DMN is valid
-