public enum EnvelopeType extends Enum<EnvelopeType>
| Enum Constant and Description |
|---|
ANY |
COUNTER |
EVENT |
GAUGE |
LOG |
TIMER |
| Modifier and Type | Method and Description |
|---|---|
static EnvelopeType |
from(String s) |
String |
getValue() |
String |
toString() |
static EnvelopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvelopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvelopeType ANY
public static final EnvelopeType LOG
public static final EnvelopeType COUNTER
public static final EnvelopeType GAUGE
public static final EnvelopeType TIMER
public static final EnvelopeType EVENT
public static EnvelopeType[] values()
for (EnvelopeType c : EnvelopeType.values()) System.out.println(c);
public static EnvelopeType 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 EnvelopeType from(String s)
public String getValue()
public String toString()
toString in class Enum<EnvelopeType>Copyright © 2022. All rights reserved.