Package org.glassfish.api.deployment
Enum OpsParams.Command
- java.lang.Object
-
- java.lang.Enum<OpsParams.Command>
-
- org.glassfish.api.deployment.OpsParams.Command
-
- All Implemented Interfaces:
Serializable
,Comparable<OpsParams.Command>
- Enclosing class:
- OpsParams
public static enum OpsParams.Command extends Enum<OpsParams.Command>
There can be cases where the container code wants to find out the command associated with the operation when the Origin information is not sufficient
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _deploy
create_application_ref
delete_application_ref
deploy
disable
enable
shutdown_server
startup_server
undeploy
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpsParams.Command
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpsParams.Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
deploy
public static final OpsParams.Command deploy
-
undeploy
public static final OpsParams.Command undeploy
-
enable
public static final OpsParams.Command enable
-
disable
public static final OpsParams.Command disable
-
_deploy
public static final OpsParams.Command _deploy
-
create_application_ref
public static final OpsParams.Command create_application_ref
-
delete_application_ref
public static final OpsParams.Command delete_application_ref
-
startup_server
public static final OpsParams.Command startup_server
-
shutdown_server
public static final OpsParams.Command shutdown_server
-
-
Method Detail
-
values
public static OpsParams.Command[] 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 (OpsParams.Command c : OpsParams.Command.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpsParams.Command 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
-
-