Enum Class AtmosphereFramework.MetaServiceAction

java.lang.Object
java.lang.Enum<AtmosphereFramework.MetaServiceAction>
org.atmosphere.cpr.AtmosphereFramework.MetaServiceAction
All Implemented Interfaces:
Serializable, Comparable<AtmosphereFramework.MetaServiceAction>, Constable
Enclosing class:
AtmosphereFramework

public static enum AtmosphereFramework.MetaServiceAction extends Enum<AtmosphereFramework.MetaServiceAction>

This enumeration represents all possible actions to specify in a meta service file.

Since:
2.2.0
Version:
1.0
Author:
Guillaume DROUET
  • Enum Constant Details

  • Method Details

    • values

      public static AtmosphereFramework.MetaServiceAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AtmosphereFramework.MetaServiceAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • apply

      public void apply(AtmosphereFramework fwk, Class<?> clazz) throws Exception

      Applies this action to given class.

      Parameters:
      fwk - the framework
      clazz - the class
      Throws:
      Exception - if procedure fails