Enum InfoContributorFallback

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

public enum InfoContributorFallback extends Enum<InfoContributorFallback>
Controls the fallback behavior when the primary property that controls whether an info contributor is enabled is not set.
Since:
2.6.0
Author:
Andy Wilkinson
See Also:
  • Enum Constant Details

    • USE_DEFAULTS_PROPERTY

      public static final InfoContributorFallback USE_DEFAULTS_PROPERTY
      Fall back to the management.info.defaults.enabled property, matching if it is true or if it is not configured.
    • DISABLE

      public static final InfoContributorFallback DISABLE
      Do not fall back, thereby disabling the info contributor.
  • Method Details

    • values

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