Interface IWorkflowElementValidationResult
- All Superinterfaces:
Serializable
Represents the result of validating a single workflow node or trigger.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<Throwable>
com.google.common.collect.ImmutableList<IWorkflowValidationMessage>
boolean
isValid()
-
Method Details
-
isValid
boolean isValid() -
getExceptions
com.google.common.collect.ImmutableList<Throwable> getExceptions()- Returns:
- A list of exception that occurred during validation that may be responsible for the element being invalid.
-
getMessages
com.google.common.collect.ImmutableList<IWorkflowValidationMessage> getMessages()- Returns:
- A list of validation messages for the node or trigger. An error usually represents a critical constraint
violations, while warnings are only informational. It is however, possible and allowed, for
isValid()
totrue
even if there are error messages.The contrary holds true as well:isValid()
may returnfalse
even when there are no messages.
-