public class EntitiesValidatorImpl extends com.marklogic.client.extensions.ResourceManager implements EntitiesValidator
Constructor and Description |
---|
EntitiesValidatorImpl(com.marklogic.client.DatabaseClient client) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
validate(java.lang.String entity,
java.lang.String flow,
java.lang.String plugin,
java.lang.String type,
java.lang.String content)
Creates and returns a an EntityValidator object
|
com.fasterxml.jackson.databind.JsonNode |
validateAll()
Validates all entities
|
getName, startLogging, stopLogging
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public EntitiesValidatorImpl(com.marklogic.client.DatabaseClient client)
public com.fasterxml.jackson.databind.JsonNode validateAll()
EntitiesValidator
validateAll
in interface EntitiesValidator
public com.fasterxml.jackson.databind.JsonNode validate(java.lang.String entity, java.lang.String flow, java.lang.String plugin, java.lang.String type, java.lang.String content)
EntitiesValidator
validate
in interface EntitiesValidator
entity
- - name of the entity you are attempting to validateflow
- - name of the flow you want to useplugin
- - which plugin (triples/headers/etc) without extensiontype
- - xquery or javascriptcontent
- - the content to validate against