- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ActionExecutorExecutes an action of a given type. Instances of this type must be registered with ScriptingExpressionEvaluator.
PipelineData execute(ActionExpressionType command, PipelineData input, ExecutionContext context, OperationResult globalResult) throws ScriptExecutionException, SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException, SecurityViolationException, ExpressionEvaluationExceptionExecutes given action command.
command- Command to be executed. Its parameters can be defined statically (using "new" specific subclasses in the schema) or dynamically (using "old fashioned" dynamic name-value parameters) or in a mixed style, where dynamic definitions take precedence.
input- Input data (pipeline) that the action has to be executed on.
context- Overall execution context.
globalResult- Global operation result. This is the parent result that receives subresults related to actions executions. (But individual results are stored also into the pipeline, to indicate success/failure of individual pipeline items processing.)