public static enum DaemonContribution.State extends Enum<DaemonContribution.State>
RUNNING - The daemon is running STOPPED - The daemon is stopped ERROR - The daemon should be running but it is not
Modifier and Type | Method and Description |
---|---|
static DaemonContribution.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DaemonContribution.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaemonContribution.State RUNNING
public static final DaemonContribution.State STOPPED
public static final DaemonContribution.State ERROR
public static DaemonContribution.State[] values()
for (DaemonContribution.State c : DaemonContribution.State.values()) System.out.println(c);
public static DaemonContribution.State 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 © 2018. All rights reserved.