Package org.jboss.modcluster.mcmp
Enum MCMPRequestType
- java.lang.Object
-
- java.lang.Enum<MCMPRequestType>
-
- org.jboss.modcluster.mcmp.MCMPRequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<MCMPRequestType>
public enum MCMPRequestType extends Enum<MCMPRequestType>
Valid types of MCMP requests.- Author:
- Brian Stansberry
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG
DISABLE_APP
DUMP
ENABLE_APP
INFO
PING
REMOVE_APP
STATUS
STOP_APP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getEstablishesServer()
String
toString()
static MCMPRequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MCMPRequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIG
public static final MCMPRequestType CONFIG
-
ENABLE_APP
public static final MCMPRequestType ENABLE_APP
-
DISABLE_APP
public static final MCMPRequestType DISABLE_APP
-
STOP_APP
public static final MCMPRequestType STOP_APP
-
REMOVE_APP
public static final MCMPRequestType REMOVE_APP
-
STATUS
public static final MCMPRequestType STATUS
-
INFO
public static final MCMPRequestType INFO
-
DUMP
public static final MCMPRequestType DUMP
-
PING
public static final MCMPRequestType PING
-
-
Method Detail
-
values
public static MCMPRequestType[] 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 (MCMPRequestType c : MCMPRequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MCMPRequestType 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
-
getEstablishesServer
public boolean getEstablishesServer()
-
toString
public String toString()
- Overrides:
toString
in classEnum<MCMPRequestType>
-
-