public enum EventType extends Enum<EventType>
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION
Default application event type if no other positive type value is provided.
|
static int |
COMMIT
Final event marking the completion of processing a command.
|
static int |
ROLLBACK
Final event marking the rollback of processing a command.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAdmin(int value) |
static boolean |
isApplication(int value) |
static boolean |
isCommit(int value) |
static boolean |
isRollback(int value) |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int APPLICATION
public static final int COMMIT
public static final int ROLLBACK
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 boolean isAdmin(int value)
public static boolean isApplication(int value)
public static boolean isCommit(int value)
public static boolean isRollback(int value)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.