Package org.glassfish.admin.mbeanserver
Enum JMXStartupService.JMXConnectorStatus
- java.lang.Object
-
- java.lang.Enum<JMXStartupService.JMXConnectorStatus>
-
- org.glassfish.admin.mbeanserver.JMXStartupService.JMXConnectorStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<JMXStartupService.JMXConnectorStatus>
- Enclosing class:
- JMXStartupService
public static enum JMXStartupService.JMXConnectorStatus extends Enum<JMXStartupService.JMXConnectorStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JMXStartupService.JMXConnectorStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static JMXStartupService.JMXConnectorStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOPPED
public static final JMXStartupService.JMXConnectorStatus STOPPED
-
STARTED
public static final JMXStartupService.JMXConnectorStatus STARTED
-
-
Method Detail
-
values
public static JMXStartupService.JMXConnectorStatus[] 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 (JMXStartupService.JMXConnectorStatus c : JMXStartupService.JMXConnectorStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JMXStartupService.JMXConnectorStatus 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
-
-