Package io.openliberty.tools.ant
Enum ServerTask.ReturnCode
- java.lang.Object
-
- java.lang.Enum<ServerTask.ReturnCode>
-
- io.openliberty.tools.ant.ServerTask.ReturnCode
-
- All Implemented Interfaces:
Serializable,Comparable<ServerTask.ReturnCode>
- Enclosing class:
- ServerTask
public static enum ServerTask.ReturnCode extends Enum<ServerTask.ReturnCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static ServerTask.ReturnCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerTask.ReturnCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ServerTask.ReturnCode OK
-
REDUNDANT_ACTION_STATUS
public static final ServerTask.ReturnCode REDUNDANT_ACTION_STATUS
-
SERVER_NOT_EXIST_STATUS
public static final ServerTask.ReturnCode SERVER_NOT_EXIST_STATUS
-
SERVER_ACTIVE_STATUS
public static final ServerTask.ReturnCode SERVER_ACTIVE_STATUS
-
SERVER_INACTIVE_STATUS
public static final ServerTask.ReturnCode SERVER_INACTIVE_STATUS
-
BAD_ARGUMENT
public static final ServerTask.ReturnCode BAD_ARGUMENT
-
ERROR_SERVER_STOP
public static final ServerTask.ReturnCode ERROR_SERVER_STOP
-
ERROR_SERVER_START
public static final ServerTask.ReturnCode ERROR_SERVER_START
-
LOCATION_EXCEPTION
public static final ServerTask.ReturnCode LOCATION_EXCEPTION
-
LAUNCH_EXCEPTION
public static final ServerTask.ReturnCode LAUNCH_EXCEPTION
-
RUNTIME_EXCEPTION
public static final ServerTask.ReturnCode RUNTIME_EXCEPTION
-
UNKNOWN_EXCEPTION
public static final ServerTask.ReturnCode UNKNOWN_EXCEPTION
-
PROCESS_CLIENT_EXCEPTION
public static final ServerTask.ReturnCode PROCESS_CLIENT_EXCEPTION
-
ERROR_SERVER_PACKAGE
public static final ServerTask.ReturnCode ERROR_SERVER_PACKAGE
-
ERROR_SERVER_DUMP
public static final ServerTask.ReturnCode ERROR_SERVER_DUMP
-
ERROR_SERVER_ATTACH
public static final ServerTask.ReturnCode ERROR_SERVER_ATTACH
-
-
Method Detail
-
values
public static ServerTask.ReturnCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerTask.ReturnCode c : ServerTask.ReturnCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerTask.ReturnCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
-