Class DeploymentSpec.DeprecatedElement

java.lang.Object
com.yahoo.config.application.api.DeploymentSpec.DeprecatedElement
Enclosing class:
DeploymentSpec

public static class DeploymentSpec.DeprecatedElement extends Object
Represents a deprecated XML element in DeploymentSpec, or the deprecated attribute(s) of an element.
  • Constructor Details

    • DeprecatedElement

      public DeprecatedElement(int majorVersion, String tagName, List<String> attributes, String message)
  • Method Details

    • majorVersion

      public int majorVersion()
      Returns the major version that deprecated this element
    • humanReadableString

      public String humanReadableString()
    • toString

      public String toString()
      Overrides:
      toString in class Object