Class NacosServiceName

java.lang.Object
org.apache.dubbo.registry.nacos.NacosServiceName

public class NacosServiceName extends Object
The service name of Nacos
Since:
2.7.3
  • Field Details

  • Constructor Details

    • NacosServiceName

      public NacosServiceName()
    • NacosServiceName

      public NacosServiceName(URL url)
    • NacosServiceName

      public NacosServiceName(String value)
  • Method Details

    • valueOf

      public static NacosServiceName valueOf(URL url)
      Build an instance of NacosServiceName
      Parameters:
      url -
      Returns:
    • isConcrete

      public boolean isConcrete()
      Is the concrete service name or not
      Returns:
      if concrete , return true, or false
    • isCompatible

      public boolean isCompatible(NacosServiceName concreteServiceName)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getServiceInterface

      public String getServiceInterface()
    • setServiceInterface

      public void setServiceInterface(String serviceInterface)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getGroup

      public String getGroup()
    • setGroup

      public void setGroup(String group)
    • getValue

      public String getValue()
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object