Class Outcome
java.lang.Object
org.kie.kogito.trusty.storage.api.model.Outcome
- Direct Known Subclasses:
DecisionOutcome,ProcessOutcome
Base abstract class for Outcome
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOutcome()protectedOutcome(String outcomeId, String outcomeName, String evaluationStatus, org.kie.kogito.tracing.typedvalue.TypedValue outcomeResult, Collection<NamedTypedValue> outcomeInputs, Collection<org.kie.kogito.tracing.event.message.Message> messages) -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.kie.kogito.tracing.event.message.Message>org.kie.kogito.tracing.typedvalue.TypedValuebooleanvoidsetEvaluationStatus(String evaluationStatus) voidsetMessages(Collection<org.kie.kogito.tracing.event.message.Message> messages) voidsetOutcomeId(String outcomeId) voidsetOutcomeInputs(Collection<NamedTypedValue> outcomeInputs) voidsetOutcomeName(String outcomeName) voidsetOutcomeResult(org.kie.kogito.tracing.typedvalue.TypedValue outcomeResult)
-
Field Details
-
EVALUATION_STATUS_FIELD
- See Also:
-
MESSAGES_FIELD
- See Also:
-
OUTCOME_ID_FIELD
- See Also:
-
OUTCOME_INPUTS_FIELD
- See Also:
-
OUTCOME_NAME_FIELD
- See Also:
-
OUTCOME_RESULT_FIELD
- See Also:
-
HAS_ERRORS_FIELD
- See Also:
-
-
Constructor Details
-
Outcome
protected Outcome() -
Outcome
protected Outcome(String outcomeId, String outcomeName, String evaluationStatus, org.kie.kogito.tracing.typedvalue.TypedValue outcomeResult, Collection<NamedTypedValue> outcomeInputs, Collection<org.kie.kogito.tracing.event.message.Message> messages)
-
-
Method Details
-
getOutcomeId
-
setOutcomeId
-
getOutcomeName
-
setOutcomeName
-
getEvaluationStatus
-
setEvaluationStatus
-
getOutcomeResult
public org.kie.kogito.tracing.typedvalue.TypedValue getOutcomeResult() -
setOutcomeResult
public void setOutcomeResult(org.kie.kogito.tracing.typedvalue.TypedValue outcomeResult) -
getOutcomeInputs
-
setOutcomeInputs
-
getMessages
-
setMessages
-
hasErrors
public boolean hasErrors()
-