public enum JournalStrategy extends java.lang.Enum<JournalStrategy>
| Modifier and Type | Method and Description |
|---|---|
JournalStrategy |
getById(int id)
Retrieve a strategy based on its identifier
|
static JournalStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JournalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JournalStrategy DELETE
public static final JournalStrategy WINDOW
public static JournalStrategy[] values()
for (JournalStrategy c : JournalStrategy.values()) System.out.println(c);
public static JournalStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic JournalStrategy getById(int id)
id - object's identifier (enum key).