public static enum ServerStatus.TASK extends Enum<ServerStatus.TASK>
Modifier and Type | Method and Description |
---|---|
static ServerStatus.TASK |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus.TASK[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus.TASK PARSE
public static final ServerStatus.TASK DETECT
public static final ServerStatus.TASK TRANSLATE
public static ServerStatus.TASK[] values()
for (ServerStatus.TASK c : ServerStatus.TASK.values()) System.out.println(c);
public static ServerStatus.TASK 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 © 2007–2023 The Apache Software Foundation. All rights reserved.