Class NormalizedSource

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.NormalizedSource
Direct Known Subclasses:
LabeledConfigMapNormalizedSource, LabeledSecretNormalizedSource, NamedConfigMapNormalizedSource, NamedSecretNormalizedSource

Base class for Normalized Sources. It should contain all the "normalized" properties that users can specify, either explicitly or implicitly.
Author:
wind57
  • Constructor Details

    • NormalizedSource

      protected NormalizedSource(String name, String namespace, boolean failFast)
  • Method Details

    • namespace

      public final Optional<String> namespace()
    • name

      public final Optional<String> name()
    • failFast

      public final boolean failFast()
    • type

      public abstract NormalizedSourceType type()
      type of this normalized source. Callers are sensitive towards the actual type specified.
    • target

      public abstract String target()
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object
    • equals

      public abstract boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object