|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AtmosphereFramework.MetaServiceAction>
org.atmosphere.cpr.AtmosphereFramework.MetaServiceAction
public static enum AtmosphereFramework.MetaServiceAction
This enumeration represents all possible actions to specify in a meta service file.
| Enum Constant Summary | |
|---|---|
EXCLUDE
Exclude service. |
|
INSTALL
Install service. |
|
| Method Summary | |
|---|---|
void |
apply(AtmosphereFramework fwk,
Class<?> clazz)
Applies this action to given class. |
static AtmosphereFramework.MetaServiceAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AtmosphereFramework.MetaServiceAction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AtmosphereFramework.MetaServiceAction INSTALL
public static final AtmosphereFramework.MetaServiceAction EXCLUDE
| Method Detail |
|---|
public static AtmosphereFramework.MetaServiceAction[] values()
for (AtmosphereFramework.MetaServiceAction c : AtmosphereFramework.MetaServiceAction.values()) System.out.println(c);
public static AtmosphereFramework.MetaServiceAction valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public void apply(AtmosphereFramework fwk,
Class<?> clazz)
throws Exception
Applies this action to given class.
fwk - the frameworkclazz - the class
Exception - if procedure fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||