Enum Class InterceptionStrategy

java.lang.Object
java.lang.Enum<InterceptionStrategy>
io.helidon.service.codegen.InterceptionStrategy
All Implemented Interfaces:
Serializable, Comparable<InterceptionStrategy>, Constable

public enum InterceptionStrategy extends Enum<InterceptionStrategy>
Possible strategies to interception. Whether interception is supported, and this is honored depends on implementation.

The strategy is (in Helidon service registry) only honored at compilation time. At runtime, it can only be enabled or disabled.

  • Enum Constant Details

  • Method Details

    • values

      public static InterceptionStrategy[] 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 InterceptionStrategy 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