Enum ManagementContextType

java.lang.Object
java.lang.Enum<ManagementContextType>
org.springframework.boot.actuate.autoconfigure.web.ManagementContextType
All Implemented Interfaces:
Serializable, Comparable<ManagementContextType>, Constable

public enum ManagementContextType extends Enum<ManagementContextType>
Enumeration of management context types.
Since:
2.0.0
Author:
Andy Wilkinson
  • Enum Constant Details

    • SAME

      public static final ManagementContextType SAME
      The management context is the same as the main application context.
    • CHILD

      public static final ManagementContextType CHILD
      The management context is a separate context that is a child of the main application context.
    • ANY

      public static final ManagementContextType ANY
      The management context can be either the same as the main application context or a child of the main application context.
  • Method Details

    • values

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

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