Enum Class NormalizedSourceType

java.lang.Object
java.lang.Enum<NormalizedSourceType>
org.springframework.cloud.kubernetes.commons.config.NormalizedSourceType
All Implemented Interfaces:
Serializable, Comparable<NormalizedSourceType>, Constable

public enum NormalizedSourceType extends Enum<NormalizedSourceType>
Defines the type of the normalized source.
Author:
wind57
  • Enum Constant Details

    • NAMED_SECRET

      public static final NormalizedSourceType NAMED_SECRET
      denotes the fact that this is a secret source based on name.
    • LABELED_SECRET

      public static final NormalizedSourceType LABELED_SECRET
      denotes the fact that this is a secret source based on labels.
    • NAMED_CONFIG_MAP

      public static final NormalizedSourceType NAMED_CONFIG_MAP
      denotes the fact that this is a config map source based on name.
    • LABELED_CONFIG_MAP

      public static final NormalizedSourceType LABELED_CONFIG_MAP
      denotes the fact that this is a config map source based on labels.
  • Method Details

    • values

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