public class DocumentWorkerFieldValueValidator
extends com.hpe.caf.worker.testing.validation.CustomPropertyValidator
| Constructor and Description |
|---|
DocumentWorkerFieldValueValidator(com.hpe.caf.api.worker.DataStore dataStore,
com.hpe.caf.worker.testing.TestConfiguration testConfiguration,
com.hpe.caf.api.Codec codec,
String... recognizedPropertyNames)
Constructs a validator that validates DocumentWorkerFieldValue instances of specific named fields
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canValidate(String propertyName,
Object sourcePropertyValue,
Object validatorPropertyValue) |
protected boolean |
isValid(Object testedPropertyValue,
Object validatorPropertyValue) |
public DocumentWorkerFieldValueValidator(com.hpe.caf.api.worker.DataStore dataStore,
com.hpe.caf.worker.testing.TestConfiguration testConfiguration,
com.hpe.caf.api.Codec codec,
String... recognizedPropertyNames)
dataStore - the data store from which storage reference field values will be retrieved for validationtestConfiguration - various settings controlling testingcodec - the codec to be used when validating storage reference valuesrecognizedPropertyNames - the names of the DocumentWorkerFieldValue fields that are validated by this validator instance; may
be null, in which case the validator may be used to validate any DocumentWorkerFieldValue fieldCopyright © 2015–2017 Hewlett Packard Enterprise Development LP. All rights reserved.