Class CustomContextOperator<T,P extends OperatorParameters>
- java.lang.Object
-
- org.gcube.vremanagement.contextmanager.model.operators.context.CustomContextOperator<T,P>
-
- All Implemented Interfaces:
ContextOperator
public abstract class CustomContextOperator<T,P extends OperatorParameters> extends Object implements ContextOperator
-
-
Constructor Summary
Constructors Constructor Description CustomContextOperator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PcheckAndTrasformParameters(Context context, OperatorParameters params)protected abstract Texecute(Context context, P params)ReportEntry<T>run(Context context, P params)abstract Tundo(Context context, OperatorParameters params)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.gcube.vremanagement.contextmanager.model.operators.context.ContextOperator
getAllowedContextType, getDescription, getOperationId
-
-
-
-
Method Detail
-
checkAndTrasformParameters
protected abstract P checkAndTrasformParameters(Context context, OperatorParameters params) throws InvalidParameterException
- Throws:
InvalidParameterException
-
execute
protected abstract T execute(Context context, P params) throws OperationException
- Throws:
OperationException
-
undo
public abstract T undo(Context context, OperatorParameters params)
-
run
public ReportEntry<T> run(Context context, P params)
-
-