public static enum AtmosphereFramework.MetaServiceAction extends Enum<AtmosphereFramework.MetaServiceAction>
This enumeration represents all possible actions to specify in a meta service file.
| Enum Constant and Description |
|---|
EXCLUDE
Exclude service.
|
INSTALL
Install service.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final AtmosphereFramework.MetaServiceAction INSTALL
public static final AtmosphereFramework.MetaServiceAction EXCLUDE
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 nameNullPointerException - if the argument is nullpublic void apply(AtmosphereFramework fwk, Class<?> clazz) throws Exception
Applies this action to given class.
fwk - the frameworkclazz - the classException - if procedure failsCopyright © 2016. All rights reserved.