RESULT - The type of the result of the Functionpublic class SupplierExecutionBuilder<RESULT> extends ExecutionBuilder<Supplier<RESULT>,RESULT>
ExecutionBuilder that executes the AtlanticLambda that is
being built.| Constructor and Description |
|---|
SupplierExecutionBuilder(Supplier<RESULT> lambda,
List<Object> params,
ExecutionContext context)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RESULT |
execute()
Runs the
Executor set in the ExecutionContext
AtlanticLambda
thet is being built using the framework, the accumulated parameters and the ExecutionContext. |
getContext, getLambda, getParamspublic SupplierExecutionBuilder(Supplier<RESULT> lambda, List<Object> params, ExecutionContext context)
lambda - The Supplier to execute.params - The parameters already accumulated when creating this ExecutionBuilder.context - The ExecutionContext that contains all the listeners and handlers of the execution.public RESULT execute()
Executor set in the ExecutionContext
AtlanticLambda
thet is being built using the framework, the accumulated parameters and the ExecutionContext.Copyright © 2018. All rights reserved.