Package org.apache.dubbo.metadata
Class MetadataInfo.ServiceInfo
java.lang.Object
org.apache.dubbo.metadata.MetadataInfo.ServiceInfo
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataInfo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceInfo(String name, String group, String version, String protocol, int port, String path, Map<String, String> params) ServiceInfo(org.apache.dubbo.common.URL url, List<MetadataParamsFilter> filters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConsumerParams(Map<String, String> params) voidaddParameter(String key, String value) voidaddParameterIfAbsent(String key, String value) booleangetGroup()getMethodParameter(String method, String key, String defaultValue) getName()getParameter(String key) getPath()intgetPort()org.apache.dubbo.common.ProtocolServiceKeyorg.apache.dubbo.common.URLgetUrl()inthashCode()booleanhasMethodParameter(String method) booleanhasMethodParameter(String method, String key) booleanmatchProtocolServiceKey(org.apache.dubbo.common.ProtocolServiceKey protocolServiceKey) voidvoidvoidvoidvoidsetPort(int port) voidsetProtocol(String protocol) voidsetVersion(String version) toString()
-
Constructor Details
-
ServiceInfo
public ServiceInfo() -
ServiceInfo
-
ServiceInfo
-
-
Method Details
-
getMatchKey
-
matchProtocolServiceKey
public boolean matchProtocolServiceKey(org.apache.dubbo.common.ProtocolServiceKey protocolServiceKey) -
getProtocolServiceKey
public org.apache.dubbo.common.ProtocolServiceKey getProtocolServiceKey() -
getServiceKey
-
getName
-
setName
-
getGroup
-
setGroup
-
getVersion
-
setVersion
-
getPath
-
setPath
-
getProtocol
-
setProtocol
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getParams
-
setParams
-
getAllParams
-
getParameter
-
getMethodParameter
-
hasMethodParameter
-
hasMethodParameter
-
toDescString
-
addParameter
-
addParameterIfAbsent
-
addConsumerParams
-
getNumbers
-
getMethodNumbers
-
getUrl
public org.apache.dubbo.common.URL getUrl() -
equals
-
hashCode
public int hashCode() -
toString
-
toFullString
-