public static enum AtmosphereFramework.MetaServiceAction extends java.lang.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,
java.lang.Class<?> clazz)
Applies this action to given class.
|
static AtmosphereFramework.MetaServiceAction |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void apply(AtmosphereFramework fwk, java.lang.Class<?> clazz) throws java.lang.Exception
Applies this action to given class.
fwk - the frameworkclazz - the classjava.lang.Exception - if procedure failsCopyright © 2022. All Rights Reserved.