类 DefaultParamChecker

java.lang.Object
com.alibaba.nacos.common.paramcheck.AbstractParamChecker
com.alibaba.nacos.common.paramcheck.DefaultParamChecker

public class DefaultParamChecker extends AbstractParamChecker
The type Default param checker.
作者:
zhuoguang
  • 构造器详细资料

    • DefaultParamChecker

      public DefaultParamChecker()
  • 方法详细资料

    • getCheckerType

      public String getCheckerType()
      从类复制的说明: AbstractParamChecker
      Gets checker type.
      指定者:
      getCheckerType 在类中 AbstractParamChecker
      返回:
      the checker type
    • checkParamInfoList

      public ParamCheckResponse checkParamInfoList(List<ParamInfo> paramInfos)
      从类复制的说明: AbstractParamChecker
      Check param info list param check response.
      指定者:
      checkParamInfoList 在类中 AbstractParamChecker
      参数:
      paramInfos - the param infos
      返回:
      the param check response
    • initParamCheckRule

      public void initParamCheckRule()
      从类复制的说明: AbstractParamChecker
      Init param check rule.
      指定者:
      initParamCheckRule 在类中 AbstractParamChecker
    • checkParamInfoFormat

      public ParamCheckResponse checkParamInfoFormat(ParamInfo paramInfo)
      Check param info format.
      参数:
      paramInfo - the param info
      返回:
      the param check response
    • checkNamespaceShowNameFormat

      public ParamCheckResponse checkNamespaceShowNameFormat(String namespaceShowName)
      Check namespace show name format.
      参数:
      namespaceShowName - the namespace show name
      返回:
      the param check response
    • checkNamespaceIdFormat

      public ParamCheckResponse checkNamespaceIdFormat(String namespaceId)
      Check namespace id format.
      参数:
      namespaceId - the namespace id
      返回:
      the param check response
    • checkDataIdFormat

      public ParamCheckResponse checkDataIdFormat(String dataId)
      Check data id format.
      参数:
      dataId - the data id
      返回:
      the param check response
    • checkServiceNameFormat

      public ParamCheckResponse checkServiceNameFormat(String serviceName)
      Check service name format.
      参数:
      serviceName - the service name
      返回:
      the param check response
    • checkGroupFormat

      public ParamCheckResponse checkGroupFormat(String group)
      Check group format.
      参数:
      group - the group
      返回:
      the param check response
    • checkClusterFormat

      public ParamCheckResponse checkClusterFormat(String clusterString)
      Check cluster format.
      参数:
      clusterString - the cluster string
      返回:
      the param check response
    • checkSingleClusterFormat

      public ParamCheckResponse checkSingleClusterFormat(String cluster)
      Check single cluster format.
      参数:
      cluster - the cluster
      返回:
      the param check response
    • checkIpFormat

      public ParamCheckResponse checkIpFormat(String ip)
      Check ip format.
      参数:
      ip - the ip
      返回:
      the param check response
    • checkPortFormat

      public ParamCheckResponse checkPortFormat(String port)
      Check port format.
      参数:
      port - the port
      返回:
      the param check response
    • checkMetadataFormat

      public ParamCheckResponse checkMetadataFormat(Map<String,String> metadata)
      Check metadata format.
      参数:
      metadata - the metadata
      返回:
      the param check response