public class IfHandler extends Object implements OutputOperationHandler<If<Object,Object>,Object>
If operations.
If If.getThen() or If.getOtherwise() is called but returns a null operation,
then the input object will simply be returned.| Constructor and Description |
|---|
IfHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doOperation(If operation,
Context context,
Store store)
Execute the given
Output operation. |
public Object doOperation(If operation, Context context, Store store) throws OperationException
OutputOperationHandlerOutput operation.doOperation in interface OperationHandler<If<Object,Object>>doOperation in interface OutputOperationHandler<If<Object,Object>,Object>operation - the Output operation to be executedcontext - the operation chain context, containing the user who executed the operationstore - the Store the operation should be run onOperationException - thrown if the operation failsCopyright © 2022. All rights reserved.