Class UriSpec.Part

java.lang.Object
org.apache.curator.x.discovery.UriSpec.Part
Enclosing class:
UriSpec

public static class UriSpec.Part extends Object
Represents one token in the Uri spec
  • Constructor Details

    • Part

      public Part(String value, boolean isVariable)
      Parameters:
      value - the token value
      isVariable - if true, a replacement field. If false, a literal string
    • Part

      public Part()
  • Method Details

    • getValue

      public String getValue()
    • isVariable

      public boolean isVariable()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object