Package io.camunda.zeebe.dmn.impl
Class ParseFailureMessage
java.lang.Object
io.camunda.zeebe.dmn.impl.ParseFailureMessage
- All Implemented Interfaces:
ParsedDecisionRequirementsGraph
-
Constructor Details
-
ParseFailureMessage
-
-
Method Details
-
getFailureMessage
Description copied from interface:ParsedDecisionRequirementsGraphReturns the reason why the DMN is not valid. UseParsedDecisionRequirementsGraph.isValid()to check if the DMN is valid or not.- Specified by:
getFailureMessagein interfaceParsedDecisionRequirementsGraph- Returns:
- the failure message if the DMN is not valid, or
nullif the DMN is valid
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceParsedDecisionRequirementsGraph- Returns:
trueif the DMN is valid
-
getId
- Specified by:
getIdin interfaceParsedDecisionRequirementsGraph- Returns:
- the id of the DRG, or
nullif the DMN is not valid
-
getName
- Specified by:
getNamein interfaceParsedDecisionRequirementsGraph- Returns:
- the name of the DRG, or
nullif the DMN is not valid
-
getNamespace
- Specified by:
getNamespacein interfaceParsedDecisionRequirementsGraph- Returns:
- the namespace of the DRG, or
nullif the DMN is not valid
-
getDecisions
- Specified by:
getDecisionsin interfaceParsedDecisionRequirementsGraph- Returns:
- the decisions that are contained in the DRG, or an empty collection if the DMN is not valid
-