Class ValidIPValidator
java.lang.Object
org.gcube.accounting.datamodel.validations.validators.ValidIPValidator
- All Implemented Interfaces:
org.gcube.documentstore.records.implementation.FieldAction
public class ValidIPValidator
extends Object
implements org.gcube.documentstore.records.implementation.FieldAction
- Author:
- Luca Frosini (ISTI - CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleanisIpAddress(String ipAddress) validate(String key, Serializable value, org.gcube.documentstore.records.Record record)
-
Constructor Details
-
ValidIPValidator
public ValidIPValidator()
-
-
Method Details
-
isIpAddress
-
validate
public Serializable validate(String key, Serializable value, org.gcube.documentstore.records.Record record) throws org.gcube.documentstore.exception.InvalidValueException - Specified by:
validatein interfaceorg.gcube.documentstore.records.implementation.FieldAction- Throws:
org.gcube.documentstore.exception.InvalidValueException
-