OBJ
- the type of input objects from the operation.public class GenerateElementsHandler<OBJ> extends Object implements OutputOperationHandler<GenerateElements<OBJ>,Iterable<? extends Element>>
GenerateElementsHandler
handles GenerateElements
operations.
It uses the ElementGenerator
from the operation to generate
Element
s from the operation input objects.Constructor and Description |
---|
GenerateElementsHandler() |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Element> |
doOperation(GenerateElements<OBJ> operation,
Context context,
Store store)
Execute the given
Output operation. |
public Iterable<? extends Element> doOperation(GenerateElements<OBJ> operation, Context context, Store store) throws OperationException
OutputOperationHandler
Output
operation.doOperation
in interface OperationHandler<GenerateElements<OBJ>>
doOperation
in interface OutputOperationHandler<GenerateElements<OBJ>,Iterable<? extends Element>>
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.