Class DefaultSchemaValidator
java.lang.Object
org.apache.curator.framework.schema.DefaultSchemaValidator
- All Implemented Interfaces:
SchemaValidator
The default data validator - always returns true
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultSchemaValidator
public DefaultSchemaValidator()
-
-
Method Details
-
isValid
public boolean isValid(Schema schema, String path, byte[] data, List<org.apache.zookeeper.data.ACL> acl) - Specified by:
isValid
in interfaceSchemaValidator
- Parameters:
schema
- the schema being validatedpath
- the path being operated ondata
- data or nullacl
- acls or null- Returns:
- true if valid
-