Enum Class Selector.Match

java.lang.Object
java.lang.Enum<Selector.Match>
org.springframework.boot.actuate.endpoint.annotation.Selector.Match
All Implemented Interfaces:
Serializable, Comparable<Selector.Match>, Constable
Enclosing class:
Selector

public static enum Selector.Match extends Enum<Selector.Match>
Match types that can be used with the @Selector.
  • Enum Constant Details

    • SINGLE

      public static final Selector.Match SINGLE
      Capture a single item. For example, in the case of a web application a single path segment. The parameter value be converted from a String source.
    • ALL_REMAINING

      public static final Selector.Match ALL_REMAINING
      Capture all remaining times. For example, in the case of a web application all remaining path segments. The parameter value be converted from a String[] source.
  • Method Details

    • values

      public static Selector.Match[] 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 Selector.Match 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