public static enum Sampler.Decision extends Enum<Sampler.Decision>
| Enum Constant and Description |
|---|
DROP |
RECORD_AND_SAMPLE |
RECORD_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static Sampler.Decision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sampler.Decision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sampler.Decision DROP
public static final Sampler.Decision RECORD_ONLY
public static final Sampler.Decision RECORD_AND_SAMPLE
public static Sampler.Decision[] values()
for (Sampler.Decision c : Sampler.Decision.values()) System.out.println(c);
public static Sampler.Decision 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