public static enum Service.Status extends Enum<Service.Status>
Modifier and Type | Method and Description |
---|---|
String |
value() |
static Service.Status |
value(String v) |
static Service.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.Status ENABLED
public static final Service.Status DISABLED
public static Service.Status[] values()
for (Service.Status c : Service.Status.values()) System.out.println(c);
public static Service.Status 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 Service.Status value(String v)
public String value()
Copyright © 2017. All rights reserved.