com.atlassian.confluence.pageobjects.component.editor
Enum EditorMessages
java.lang.Object
java.lang.Enum<EditorMessages>
com.atlassian.confluence.pageobjects.component.editor.EditorMessages
- All Implemented Interfaces:
- Serializable, Comparable<EditorMessages>
public enum EditorMessages
- extends Enum<EditorMessages>
A place to store messages that appear in the edit UI.
Migrated from the static constants in EditorDraftsTest
NEW_PAGE_DRAFT_EXISTS
public static final EditorMessages NEW_PAGE_DRAFT_EXISTS
DRAFT_EXISTS
public static final EditorMessages DRAFT_EXISTS
DRAFT_DISCARDED
public static final EditorMessages DRAFT_DISCARDED
NOT_LOGGED_IN_EDITOR_WARNING
public static final EditorMessages NOT_LOGGED_IN_EDITOR_WARNING
values
public static EditorMessages[] values()
- 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)
- 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()
Copyright © 2003–2015 Atlassian. All rights reserved.