public static enum Service.AppType extends Enum<Service.AppType>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Service.AppType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.AppType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.AppType WEB
public static final Service.AppType DB
public static final Service.AppType CUSTOM
public static final Service.AppType CACHE
public static final Service.AppType WORKER
public static Service.AppType[] values()
for (Service.AppType c : Service.AppType.values()) System.out.println(c);
public static Service.AppType 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 String toString()
toString in class Enum<Service.AppType>