public class DefaultParamChecker extends AbstractParamChecker
paramCheckRule| 构造器和说明 |
|---|
DefaultParamChecker() |
public String getCheckerType()
AbstractParamCheckergetCheckerType 在类中 AbstractParamCheckerpublic ParamCheckResponse checkParamInfoList(List<ParamInfo> paramInfos)
AbstractParamCheckercheckParamInfoList 在类中 AbstractParamCheckerparamInfos - the param infospublic void initParamCheckRule()
AbstractParamCheckerinitParamCheckRule 在类中 AbstractParamCheckerpublic ParamCheckResponse checkParamInfoFormat(ParamInfo paramInfo)
paramInfo - the param infopublic ParamCheckResponse checkNamespaceShowNameFormat(String namespaceShowName)
namespaceShowName - the namespace show namepublic ParamCheckResponse checkNamespaceIdFormat(String namespaceId)
namespaceId - the namespace idpublic ParamCheckResponse checkDataIdFormat(String dataId)
dataId - the data idpublic ParamCheckResponse checkServiceNameFormat(String serviceName)
serviceName - the service namepublic ParamCheckResponse checkGroupFormat(String group)
group - the grouppublic ParamCheckResponse checkClusterFormat(String clusterString)
clusterString - the cluster stringpublic ParamCheckResponse checkSingleClusterFormat(String cluster)
cluster - the clusterpublic ParamCheckResponse checkIpFormat(String ip)
ip - the ippublic ParamCheckResponse checkPortFormat(String port)
port - the portpublic ParamCheckResponse checkMetadataFormat(Map<String,String> metadata)
metadata - the metadataCopyright © 2018–2024 Alibaba Group. All rights reserved.