类 DefaultParamChecker
java.lang.Object
com.alibaba.nacos.common.paramcheck.AbstractParamChecker
com.alibaba.nacos.common.paramcheck.DefaultParamChecker
The type Default param checker.
- 作者:
- zhuoguang
-
字段概要
从类继承的字段 com.alibaba.nacos.common.paramcheck.AbstractParamChecker
paramCheckRule -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明checkClusterFormat(String clusterString) Check cluster format.checkDataIdFormat(String dataId) Check data id format.checkGroupFormat(String group) Check group format.checkIpFormat(String ip) Check ip format.checkMetadataFormat(Map<String, String> metadata) Check metadata format.checkNamespaceIdFormat(String namespaceId) Check namespace id format.checkNamespaceShowNameFormat(String namespaceShowName) Check namespace show name format.checkParamInfoFormat(ParamInfo paramInfo) Check param info format.checkParamInfoList(List<ParamInfo> paramInfos) Check param info list param check response.checkPortFormat(String port) Check port format.checkServiceNameFormat(String serviceName) Check service name format.checkSingleClusterFormat(String cluster) Check single cluster format.Gets checker type.voidInit param check rule.
-
构造器详细资料
-
DefaultParamChecker
public DefaultParamChecker()
-
-
方法详细资料
-
getCheckerType
从类复制的说明:AbstractParamCheckerGets checker type.- 指定者:
getCheckerType在类中AbstractParamChecker- 返回:
- the checker type
-
checkParamInfoList
从类复制的说明:AbstractParamCheckerCheck param info list param check response.- 指定者:
checkParamInfoList在类中AbstractParamChecker- 参数:
paramInfos- the param infos- 返回:
- the param check response
-
initParamCheckRule
public void initParamCheckRule()从类复制的说明:AbstractParamCheckerInit param check rule.- 指定者:
initParamCheckRule在类中AbstractParamChecker
-
checkParamInfoFormat
Check param info format.- 参数:
paramInfo- the param info- 返回:
- the param check response
-
checkNamespaceShowNameFormat
Check namespace show name format.- 参数:
namespaceShowName- the namespace show name- 返回:
- the param check response
-
checkNamespaceIdFormat
Check namespace id format.- 参数:
namespaceId- the namespace id- 返回:
- the param check response
-
checkDataIdFormat
Check data id format.- 参数:
dataId- the data id- 返回:
- the param check response
-
checkServiceNameFormat
Check service name format.- 参数:
serviceName- the service name- 返回:
- the param check response
-
checkGroupFormat
Check group format.- 参数:
group- the group- 返回:
- the param check response
-
checkClusterFormat
Check cluster format.- 参数:
clusterString- the cluster string- 返回:
- the param check response
-
checkSingleClusterFormat
Check single cluster format.- 参数:
cluster- the cluster- 返回:
- the param check response
-
checkIpFormat
Check ip format.- 参数:
ip- the ip- 返回:
- the param check response
-
checkPortFormat
Check port format.- 参数:
port- the port- 返回:
- the param check response
-
checkMetadataFormat
Check metadata format.- 参数:
metadata- the metadata- 返回:
- the param check response
-