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 Modifier and Type Interface Description static class
DMNDecisionResult.DecisionEvaluationStatus
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDecisionId()
Returns the decision IDString
getDecisionName()
Returns the decision nameDMNDecisionResult.DecisionEvaluationStatus
getEvaluationStatus()
Returns the evaluation status of this decision.List<DMNMessage>
getMessages()
Returns a list of DMN messages generated during the evaluation of this decision.Object
getResult()
Returns the result of the evaluation of the decisionboolean
hasErrors()
Returns true if any error occurred during evaluation.
-
-
-
Method Detail
-
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.
-
-