Package org.kie.dmn.api.core
Interface DMNDecisionResult
-
public interface DMNDecisionResultStores the result of the evaluation of a decision
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDMNDecisionResult.DecisionEvaluationStatus
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDecisionId()Returns the decision IDStringgetDecisionName()Returns the decision nameDMNDecisionResult.DecisionEvaluationStatusgetEvaluationStatus()Returns the evaluation status of this decision.List<DMNMessage>getMessages()Returns a list of DMN messages generated during the evaluation of this decision.ObjectgetResult()Returns the result of the evaluation of the decisionbooleanhasErrors()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.
-
-