Interface SessionInteraction.DecisionResult
-
- Enclosing interface:
- SessionInteraction
public static interface SessionInteraction.DecisionResult
Contains the report of a decision request (accept or reject).- Since:
- 5.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<UserMessage>
getErrorMessages()
Returns error messages if the comment is specified as mandatory but is currently empty, and/or if a specific constraint is not valid.OperationException
getException()
Returns an exception if a specific workflow trigger throws an exception just before the completion of the work item.boolean
hasFailed()
Returnstrue
if the result contains error messages or an exception.
-
-
-
Method Detail
-
hasFailed
boolean hasFailed()
Returnstrue
if the result contains error messages or an exception.
-
getErrorMessages
List<UserMessage> getErrorMessages()
Returns error messages if the comment is specified as mandatory but is currently empty, and/or if a specific constraint is not valid.
-
getException
OperationException getException()
Returns an exception if a specific workflow trigger throws an exception just before the completion of the work item.
-
-