public static enum Service.Status extends Enum<Service.Status>
Enum Constant and Description |
---|
DISABLED |
ENABLED |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Service.Status |
forValue(String value) |
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 DISABLED
public static final Service.Status ENABLED
public static final Service.Status UNRECOGNIZED
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 forValue(String value)
Copyright © 2017. All rights reserved.