public static enum NamedQueuePayload.NamedQueueEvent extends Enum<NamedQueuePayload.NamedQueueEvent>
Enum Constant and Description |
---|
BALANCE_DECISION |
BALANCE_REJECTION |
SLOW_LOG |
Modifier and Type | Field and Description |
---|---|
private int |
value |
Modifier and Type | Method and Description |
---|---|
static NamedQueuePayload.NamedQueueEvent |
getEventByOrdinal(int value) |
int |
getValue() |
static NamedQueuePayload.NamedQueueEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamedQueuePayload.NamedQueueEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedQueuePayload.NamedQueueEvent SLOW_LOG
public static final NamedQueuePayload.NamedQueueEvent BALANCE_DECISION
public static final NamedQueuePayload.NamedQueueEvent BALANCE_REJECTION
private final int value
public static NamedQueuePayload.NamedQueueEvent[] values()
for (NamedQueuePayload.NamedQueueEvent c : NamedQueuePayload.NamedQueueEvent.values()) System.out.println(c);
public static NamedQueuePayload.NamedQueueEvent 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 NamedQueuePayload.NamedQueueEvent getEventByOrdinal(int value)
public int getValue()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.