Class ZipkinState

    • Constructor Detail

      • ZipkinState

        public ZipkinState​(java.lang.String pluginId,
                           java.lang.String serviceName,
                           java.lang.Boolean used,
                           java.util.List<ZipkinDependency> upstream,
                           java.util.List<ZipkinDependency> downstream)
    • Method Detail

      • getServiceName

        public java.lang.String getServiceName()
      • getUsed

        public java.lang.Boolean getUsed()
      • getDownstream

        public java.util.List<@Valid ZipkinDependency> getDownstream()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withPluginId

        public ZipkinState withPluginId​(java.lang.String pluginId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withServiceName

        public ZipkinState withServiceName​(java.lang.String serviceName)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUsed

        public ZipkinState withUsed​(java.lang.Boolean used)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUpstream

        public ZipkinState withUpstream​(java.util.List<@Valid ZipkinDependency> upstream)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withDownstream

        public ZipkinState withDownstream​(java.util.List<@Valid ZipkinDependency> downstream)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).