public enum EChangeLogAction extends Enum<EChangeLogAction> implements IHasID<String>
| Modifier and Type | Method and Description |
|---|---|
static EChangeLogAction |
getFromIDOrDefault(String sID,
EChangeLogAction eDefault) |
static EChangeLogAction |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
static EChangeLogAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EChangeLogAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EChangeLogAction ADD
public static final EChangeLogAction REMOVE
public static final EChangeLogAction CHANGE
public static final EChangeLogAction FIX
public static final EChangeLogAction UPDATE
public static EChangeLogAction[] values()
for (EChangeLogAction c : EChangeLogAction.values()) System.out.println(c);
public static EChangeLogAction 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 null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!@Nullable public static EChangeLogAction getFromIDOrNull(@Nullable String sID)
@Nullable public static EChangeLogAction getFromIDOrDefault(@Nullable String sID, @Nullable EChangeLogAction eDefault)
Copyright © 2014–2016 Philip Helger. All rights reserved.