Enum N2oConfigCommit.State
- java.lang.Object
-
- java.lang.Enum<N2oConfigCommit.State>
-
- net.n2oapp.framework.config.register.audit.model.N2oConfigCommit.State
-
- All Implemented Interfaces:
Serializable,Comparable<N2oConfigCommit.State>
- Enclosing class:
- N2oConfigCommit
public static enum N2oConfigCommit.State extends Enum<N2oConfigCommit.State>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static N2oConfigCommit.StatevalueOf(String name)Returns the enum constant of this type with the specified name.static N2oConfigCommit.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGED
public static final N2oConfigCommit.State CHANGED
-
COMMITED
public static final N2oConfigCommit.State COMMITED
-
PUSHED
public static final N2oConfigCommit.State PUSHED
-
-
Method Detail
-
values
public static N2oConfigCommit.State[] 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 (N2oConfigCommit.State c : N2oConfigCommit.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static N2oConfigCommit.State 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
-
-