java.lang.Object
com.yahoo.vespa.hosted.controller.api.identifiers.Identifier
Direct Known Subclasses:
GitBranch, GitCommit, GitRepository, Property, PropertyId, RevisionId, ScrewdriverId, SerializedIdentifier, UserGroup

public abstract class Identifier extends Object
Author:
smorgrav
  • Field Details

    • strictPatternExplanation

      protected static final String strictPatternExplanation
      See Also:
    • strictPattern

      protected static final Pattern strictPattern
  • Constructor Details

    • Identifier

      public Identifier(String id)
  • Method Details

    • toDns

      public String toDns()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • id

      public String id()
    • capitalizedType

      public String capitalizedType()
    • validate

      public void validate()
    • validateSerialized

      protected void validateSerialized()
    • validateSerializedIdentifier

      protected void validateSerializedIdentifier()
    • validateNoDefault

      protected void validateNoDefault()
    • validateNoUpperCase

      protected void validateNoUpperCase()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • throwInvalidId

      public static void throwInvalidId(String id, String explanation)