Package org.xwiki.diff
Enum MergeConfiguration.Version
- java.lang.Object
-
- java.lang.Enum<MergeConfiguration.Version>
-
- org.xwiki.diff.MergeConfiguration.Version
-
- All Implemented Interfaces:
Serializable
,Comparable<MergeConfiguration.Version>
- Enclosing class:
- MergeConfiguration<E>
public static enum MergeConfiguration.Version extends Enum<MergeConfiguration.Version>
One of the merged versions.- Version:
- $Id: 435063b4b11dca02f242e06f319765ba796e25cc $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MergeConfiguration.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static MergeConfiguration.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREVIOUS
public static final MergeConfiguration.Version PREVIOUS
The common ancestor.
-
NEXT
public static final MergeConfiguration.Version NEXT
The new version.
-
CURRENT
public static final MergeConfiguration.Version CURRENT
The current version.
-
-
Method Detail
-
values
public static MergeConfiguration.Version[] 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 (MergeConfiguration.Version c : MergeConfiguration.Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergeConfiguration.Version 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
-
-