Enum CommandLaunchInfo.ClientLaunchType
- java.lang.Object
-
- java.lang.Enum<CommandLaunchInfo.ClientLaunchType>
-
- org.glassfish.appclient.client.acc.CommandLaunchInfo.ClientLaunchType
-
- All Implemented Interfaces:
Serializable
,Comparable<CommandLaunchInfo.ClientLaunchType>
- Enclosing class:
- CommandLaunchInfo
public static enum CommandLaunchInfo.ClientLaunchType extends Enum<CommandLaunchInfo.ClientLaunchType>
Represents the types of client launches.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandLaunchInfo.ClientLaunchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommandLaunchInfo.ClientLaunchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAR
public static final CommandLaunchInfo.ClientLaunchType JAR
-
DIR
public static final CommandLaunchInfo.ClientLaunchType DIR
-
CLASSFILE
public static final CommandLaunchInfo.ClientLaunchType CLASSFILE
-
CLASS
public static final CommandLaunchInfo.ClientLaunchType CLASS
-
URL
public static final CommandLaunchInfo.ClientLaunchType URL
-
UNKNOWN
public static final CommandLaunchInfo.ClientLaunchType UNKNOWN
-
-
Method Detail
-
values
public static CommandLaunchInfo.ClientLaunchType[] 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 (CommandLaunchInfo.ClientLaunchType c : CommandLaunchInfo.ClientLaunchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandLaunchInfo.ClientLaunchType 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
-
-