Enum N2oConfigMergeMode
- java.lang.Object
-
- java.lang.Enum<N2oConfigMergeMode>
-
- net.n2oapp.framework.config.register.audit.model.N2oConfigMergeMode
-
- All Implemented Interfaces:
Serializable,Comparable<N2oConfigMergeMode>
public enum N2oConfigMergeMode extends Enum<N2oConfigMergeMode>
- Since:
- 22.09.2015
- Author:
- dfirstov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANUALMERGE_OURSMERGE_THEIRSOURSTHEIRS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static N2oConfigMergeModevalueOf(String name)Returns the enum constant of this type with the specified name.static N2oConfigMergeMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final N2oConfigMergeMode MANUAL
-
OURS
public static final N2oConfigMergeMode OURS
-
THEIRS
public static final N2oConfigMergeMode THEIRS
-
MERGE_OURS
public static final N2oConfigMergeMode MERGE_OURS
-
MERGE_THEIRS
public static final N2oConfigMergeMode MERGE_THEIRS
-
-
Method Detail
-
values
public static N2oConfigMergeMode[] 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 (N2oConfigMergeMode c : N2oConfigMergeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static N2oConfigMergeMode 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
-
getValue
public String getValue()
-
-