Package org.kie.dmn.api.core
Interface DMNDecisionResult
public interface DMNDecisionResult
Stores the result of the evaluation of a decision
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the decision IDReturns the decision nameReturns the evaluation status of this decision.Returns a list of DMN messages generated during the evaluation of this decision.Returns the result of the evaluation of the decisionbooleanReturns true if any error occurred during evaluation.
-
Method Details
-
getDecisionId
String getDecisionId()Returns the decision ID- Returns:
- the decision ID
-
getDecisionName
String getDecisionName()Returns the decision name- Returns:
- the decision name
-
getEvaluationStatus
DMNDecisionResult.DecisionEvaluationStatus getEvaluationStatus()Returns the evaluation status of this decision.- Returns:
- SUCCEEDED if the evaluation completed without errors.
-
getResult
Object getResult()Returns the result of the evaluation of the decision- Returns:
- the result of the decision
-
getMessages
List<DMNMessage> getMessages()Returns a list of DMN messages generated during the evaluation of this decision.- Returns:
- a list of messages, or an empty list if no message was generated
-
hasErrors
boolean hasErrors()Returns true if any error occurred during evaluation.- Returns:
- true if any error ocurred during evaluation.
-