Class ElementMessageSetModel

    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getErrors

        public List<ElementMessageModel> getErrors()
        Returns:
        A list of error messages that indicate a severe error that prevents the workflow process from being saved / put in use.
      • getWarnings

        public List<ElementMessageModel> getWarnings()
        Returns:
        A list of warning messages that indicate a possible mistake.
      • isValid

        public boolean isValid()
        Returns:
        Whether the validated element is valid. Note that it is possible for an element to be invalid even when there are no error or warning messages, although that case should be avoided.
      • empty

        public static ElementMessageSetModel empty()
        Returns:
        A new empty message set model that is valid and has not error or warning messages.
      • setValid

        public void setValid​(boolean valid)
        Parameters:
        valid - Whether the validated element is valid. Note that it is possible for an element to be invalid even when there are no error or warning messages, although that case should be avoided.