Package org.xwiki.flamingo.skin.test.po
Enum EditConflictModal.AvailableDiffVersions
- java.lang.Object
-
- java.lang.Enum<EditConflictModal.AvailableDiffVersions>
-
- org.xwiki.flamingo.skin.test.po.EditConflictModal.AvailableDiffVersions
-
- All Implemented Interfaces:
Serializable
,Comparable<EditConflictModal.AvailableDiffVersions>
- Enclosing class:
- EditConflictModal
public static enum EditConflictModal.AvailableDiffVersions extends Enum<EditConflictModal.AvailableDiffVersions>
The available versions for performing a diff.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EditConflictModal.AvailableDiffVersions
valueOf(String name)
Returns the enum constant of this type with the specified name.static EditConflictModal.AvailableDiffVersions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREVIOUS
public static final EditConflictModal.AvailableDiffVersions PREVIOUS
Version when the user started to edit.
-
CURRENT
public static final EditConflictModal.AvailableDiffVersions CURRENT
Version with current changes.
-
NEXT
public static final EditConflictModal.AvailableDiffVersions NEXT
Latest version saved.
-
MERGED
public static final EditConflictModal.AvailableDiffVersions MERGED
Version with merge of latest saved changes and current changes.
-
-
Method Detail
-
values
public static EditConflictModal.AvailableDiffVersions[] 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.AvailableDiffVersions c : EditConflictModal.AvailableDiffVersions.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.AvailableDiffVersions 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
-
-