public abstract class CustomContextOperator<T,P extends OperatorParameters> extends Object implements ContextOperator
| Constructor and Description |
|---|
CustomContextOperator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract P |
checkAndTrasformParameters(Context context,
OperatorParameters params) |
protected abstract T |
execute(Context context,
P params) |
ReportEntry<T> |
run(Context context,
P params) |
abstract T |
undo(Context context,
OperatorParameters params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllowedContextType, getDescription, getOperationIdprotected abstract P checkAndTrasformParameters(Context context, OperatorParameters params) throws InvalidParameterException
InvalidParameterExceptionprotected abstract T execute(Context context, P params) throws OperationException
OperationExceptionpublic abstract T undo(Context context, OperatorParameters params)
public ReportEntry<T> run(Context context, P params)
Copyright © 2020. All Rights Reserved.