Enum N2oConfigCommit.Type
- java.lang.Object
-
- java.lang.Enum<N2oConfigCommit.Type>
-
- net.n2oapp.framework.config.register.audit.model.N2oConfigCommit.Type
-
- All Implemented Interfaces:
Serializable,Comparable<N2oConfigCommit.Type>
- Enclosing class:
- N2oConfigCommit
public static enum N2oConfigCommit.Type extends Enum<N2oConfigCommit.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static N2oConfigCommit.TypebyPrefix(N2oConfigMessage prefix)StringgetDescription()static N2oConfigCommit.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static N2oConfigCommit.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final N2oConfigCommit.Type CREATE
-
UPDATE
public static final N2oConfigCommit.Type UPDATE
-
DELETE
public static final N2oConfigCommit.Type DELETE
-
MERGE
public static final N2oConfigCommit.Type MERGE
-
COMMIT
public static final N2oConfigCommit.Type COMMIT
-
UPDATE_SYSTEM
public static final N2oConfigCommit.Type UPDATE_SYSTEM
-
-
Method Detail
-
values
public static N2oConfigCommit.Type[] 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.Type c : N2oConfigCommit.Type.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.Type 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
-
getDescription
public String getDescription()
-
byPrefix
public static N2oConfigCommit.Type byPrefix(N2oConfigMessage prefix)
-
-