org.springframework.boot.actuate.autoconfigure.web

Enum ManagementContextType

    • Enum Constant Detail

      • 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 Detail

      • values

        public static ManagementContextType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ManagementContextType c : ManagementContextType.values())
            System.out.println(c);
        
        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