public class DocumentWorkerResultValidationProcessor<TTestInput> extends com.hpe.caf.worker.testing.validation.PropertyValidatingProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>
| Constructor and Description |
|---|
DocumentWorkerResultValidationProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> testConfiguration,
com.hpe.caf.worker.testing.WorkerServices workerServices) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getExpectationMap(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected Object |
getValidatedObject(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected boolean |
isCompleted(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected boolean |
processWorkerResult(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult workerResult) |
public DocumentWorkerResultValidationProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> testConfiguration, com.hpe.caf.worker.testing.WorkerServices workerServices)
protected boolean processWorkerResult(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem, com.hpe.caf.api.worker.TaskMessage message, DocumentWorkerResult workerResult) throws Exception
processWorkerResult in class com.hpe.caf.worker.testing.validation.PropertyValidatingProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>Exceptionprotected boolean isCompleted(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem, com.hpe.caf.api.worker.TaskMessage message, DocumentWorkerResult documentWorkerResult)
isCompleted in class com.hpe.caf.worker.testing.validation.PropertyValidatingProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>protected Map<String,Object> getExpectationMap(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem, com.hpe.caf.api.worker.TaskMessage message, DocumentWorkerResult documentWorkerResult)
getExpectationMap in class com.hpe.caf.worker.testing.validation.PropertyValidatingProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>protected Object getValidatedObject(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem, com.hpe.caf.api.worker.TaskMessage message, DocumentWorkerResult documentWorkerResult)
getValidatedObject in class com.hpe.caf.worker.testing.validation.PropertyValidatingProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>Copyright © 2015–2017 Hewlett Packard Enterprise Development LP. All rights reserved.