org.gcube.data.analysis.tabulardata.operation.factories.types
Class BaseWorkerFactory
java.lang.Object
org.gcube.data.analysis.tabulardata.operation.factories.types.BaseWorkerFactory
- All Implemented Interfaces:
- WorkerFactory
- Direct Known Subclasses:
- ColumnScopedWorkerFactory, TableScopedWorkerFactory, VoidScopedWorkerFactory
public abstract class BaseWorkerFactory
- extends Object
- implements WorkerFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseWorkerFactory
public BaseWorkerFactory()
getOperationName
protected abstract String getOperationName()
getOperationDescription
protected abstract String getOperationDescription()
getOperationId
protected OperationId getOperationId()
getOperationScope
protected abstract OperationScope getOperationScope()
getOperationType
protected abstract OperationType getOperationType()
getOperationDescriptor
public OperationDescriptor getOperationDescriptor()
- Specified by:
getOperationDescriptor in interface WorkerFactory
getParameters
protected abstract List<org.gcube.data.analysis.tabulardata.operation.parameters.Parameter> getParameters()
performBaseChecks
protected void performBaseChecks(OperationInvocation invocation)
throws InvalidInvocationException
- Check for column id or table id presence according to the table scope and check presence and types of each required
LeafParameter
- Parameters:
invocation - the invocation to check
- Throws:
InvalidInvocationException - an error reporting what is wrong
Copyright © 2013. All Rights Reserved.