public enum ChangeType extends Enum<ChangeType>
| Enum Constant and Description |
|---|
ADD
Entry was added.
|
REMOVE
Entry was removed.
|
UPDATE
Entry was updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static ChangeType |
getEnumValue(Integer ordinal)
Get the matching enum for an ordinal number
|
Integer |
getOrdinal()
Get the matching ordinal number for this enum
|
static ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType ADD
public static final ChangeType UPDATE
public static final ChangeType REMOVE
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ChangeType getEnumValue(Integer ordinal)
ordinal - The ordinal numberpublic Integer getOrdinal()
Copyright © 2021. All rights reserved.