Package com.xpn.xwiki.doc.merge
Enum MergeConfiguration.ConflictFallbackVersion
- java.lang.Object
-
- java.lang.Enum<MergeConfiguration.ConflictFallbackVersion>
-
- com.xpn.xwiki.doc.merge.MergeConfiguration.ConflictFallbackVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<MergeConfiguration.ConflictFallbackVersion>
- Enclosing class:
- MergeConfiguration
@Unstable public static enum MergeConfiguration.ConflictFallbackVersion extends Enum<MergeConfiguration.ConflictFallbackVersion>
Versions to use as fallback in case of conflicts.- Since:
- 15.2RC1, 14.10.7
- Version:
- $Id: c1f7b2cda92c00d51a14701175c6906741da7437 $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MergeConfiguration.ConflictFallbackVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static MergeConfiguration.ConflictFallbackVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CURRENT
public static final MergeConfiguration.ConflictFallbackVersion CURRENT
Current version. Default value.
-
NEXT
public static final MergeConfiguration.ConflictFallbackVersion NEXT
Next version.
-
-
Method Detail
-
values
public static MergeConfiguration.ConflictFallbackVersion[] 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.ConflictFallbackVersion c : MergeConfiguration.ConflictFallbackVersion.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.ConflictFallbackVersion 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
-
-