Enum EditorMessages

  • All Implemented Interfaces:
    Serializable, Comparable<EditorMessages>

    @Deprecated
    public enum EditorMessages
    extends Enum<EditorMessages>
    Deprecated.
    in 5.8. Use EditorMessages instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    A place to store messages that appear in the edit UI. Migrated from the static constants in com.atlassian.confluence.selenium.EditorDraftsTest
    • Enum Constant Detail

      • NEW_PAGE_DRAFT_EXISTS

        public static final EditorMessages NEW_PAGE_DRAFT_EXISTS
        Deprecated.
      • DRAFT_EXISTS

        public static final EditorMessages DRAFT_EXISTS
        Deprecated.
      • DRAFT_DISCARDED

        public static final EditorMessages DRAFT_DISCARDED
        Deprecated.
      • NOT_LOGGED_IN_EDITOR_WARNING

        public static final EditorMessages NOT_LOGGED_IN_EDITOR_WARNING
        Deprecated.
    • Method Detail

      • values

        public static EditorMessages[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EditorMessages c : EditorMessages.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EditorMessages valueOf​(String name)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getMessage

        public String getMessage()
        Deprecated.