Package org.apache.dubbo.registry.nacos
Class NacosServiceName
java.lang.Object
org.apache.dubbo.registry.nacos.NacosServiceName
The service name of Nacos
- Since:
- 2.7.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGroup()getValue()inthashCode()booleanisCompatible(NacosServiceName concreteServiceName) booleanIs the concrete service name or notvoidsetCategory(String category) voidvoidsetServiceInterface(String serviceInterface) voidsetVersion(String version) toString()static NacosServiceNameBuild an instance ofNacosServiceName
-
Field Details
-
NAME_SEPARATOR
- See Also:
-
VALUE_SEPARATOR
- See Also:
-
WILDCARD
- See Also:
-
DEFAULT_PARAM_VALUE
- See Also:
-
-
Constructor Details
-
NacosServiceName
public NacosServiceName() -
NacosServiceName
-
NacosServiceName
-
-
Method Details
-
valueOf
Build an instance ofNacosServiceName- Parameters:
url-- Returns:
-
isConcrete
public boolean isConcrete()Is the concrete service name or not- Returns:
- if concrete , return
true, orfalse
-
isCompatible
-
getCategory
-
setCategory
-
getServiceInterface
-
setServiceInterface
-
getVersion
-
setVersion
-
getGroup
-
setGroup
-
getValue
-
equals
-
hashCode
public int hashCode() -
toString
-