public class WorkerExecutor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OperationContext |
operationContext |
| Constructor and Description |
|---|
WorkerExecutor(OperationContext operationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
org.gcube.data.analysis.tabulardata.operation.worker.results.Result |
executeOperation(org.gcube.data.analysis.tabulardata.operation.worker.Worker<?> worker) |
void |
executeValidations(List<org.gcube.data.analysis.tabulardata.operation.worker.types.ValidationWorker> preconditionsWorker) |
static List<org.gcube.data.analysis.tabulardata.commons.webservice.types.tasks.ValidationDescriptor> |
getValidationDescriptions(org.gcube.data.analysis.tabulardata.operation.worker.results.ValidityResult result) |
protected OperationContext operationContext
public WorkerExecutor(OperationContext operationContext)
public org.gcube.data.analysis.tabulardata.operation.worker.results.Result executeOperation(org.gcube.data.analysis.tabulardata.operation.worker.Worker<?> worker)
throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.WorkerException,
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationAbortedException
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.WorkerExceptionorg.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationAbortedExceptionpublic void executeValidations(List<org.gcube.data.analysis.tabulardata.operation.worker.types.ValidationWorker> preconditionsWorker) throws org.gcube.data.analysis.tabulardata.operation.worker.exceptions.WorkerException, org.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationAbortedException
org.gcube.data.analysis.tabulardata.operation.worker.exceptions.WorkerExceptionorg.gcube.data.analysis.tabulardata.operation.worker.exceptions.OperationAbortedExceptionpublic static List<org.gcube.data.analysis.tabulardata.commons.webservice.types.tasks.ValidationDescriptor> getValidationDescriptions(org.gcube.data.analysis.tabulardata.operation.worker.results.ValidityResult result)
public void abort()
Copyright © 2018. All Rights Reserved.