Package org.xwiki.flamingo.skin.test.po
Enum EditConflictModal.ConflictChoice
- java.lang.Object
-
- java.lang.Enum<EditConflictModal.ConflictChoice>
-
- org.xwiki.flamingo.skin.test.po.EditConflictModal.ConflictChoice
-
- All Implemented Interfaces:
Serializable
,Comparable<EditConflictModal.ConflictChoice>
- Enclosing class:
- EditConflictModal
public static enum EditConflictModal.ConflictChoice extends Enum<EditConflictModal.ConflictChoice>
The different choices available to resolve the conflict.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EditConflictModal.ConflictChoice
valueOf(String name)
Returns the enum constant of this type with the specified name.static EditConflictModal.ConflictChoice[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE
public static final EditConflictModal.ConflictChoice MERGE
Merge choice.
-
OVERRIDE
public static final EditConflictModal.ConflictChoice OVERRIDE
Override (or force save) choice.
-
RELOAD
public static final EditConflictModal.ConflictChoice RELOAD
Reload choice.
-
CUSTOM
public static final EditConflictModal.ConflictChoice CUSTOM
Custom conflict fix choice.
-
-
Method Detail
-
values
public static EditConflictModal.ConflictChoice[] 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 (EditConflictModal.ConflictChoice c : EditConflictModal.ConflictChoice.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EditConflictModal.ConflictChoice 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 nameNullPointerException
- if the argument is null
-
-