public static enum Collector.Action extends Enum<Collector.Action>
Modifier and Type | Method and Description |
---|---|
static Collector.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Collector.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Collector.Action STARTED
public static final Collector.Action CHANGE
public static final Collector.Action HEARTBEAT
public static final Collector.Action STOPPED
public final String value
public static Collector.Action[] values()
for (Collector.Action c : Collector.Action.values()) System.out.println(c);
public static Collector.Action 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 nullCopyright © 2020. All rights reserved.