Interface IWorkflowElementValidationResult

  • All Superinterfaces:
    Serializable

    public interface IWorkflowElementValidationResult
    extends Serializable
    Represents the result of validating a single workflow node or trigger.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • isValid

        boolean isValid()
        Returns:
        Whether the validates workflow element is valid or invalid. Please note that it is possible and allowed for isValid() to true even if there are error messages. The contrary holds true as well: isValid() may return false even when there are no messages.
      • 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() to true even if there are error messages.The contrary holds true as well: isValid() may return false even when there are no messages.