Package step.core.execution
Class ExecutionEngine.Builder
java.lang.Object
step.core.execution.ExecutionEngine.Builder
- Enclosing class:
- ExecutionEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withObjectHookRegistry(step.core.objectenricher.ObjectHookRegistry objectHookRegistry) Use a specificObjectHookRegistryto handle object enrichment and filteringwithOperationMode(OperationMode operationMode) Sets the operation mode of theExecutionEngine.withParentContext(AbstractExecutionEngineContext parentContext) Sets a parent context from which the attributes should be inheritedwithPlugin(ExecutionEnginePlugin plugin) withPlugins(List<ExecutionEnginePlugin> plugins) Searches for classes annotated byPluginand implementingExecutionEnginePluginin the classpath and add them to the list of plugins to be used by theExecutionEngine
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withPlugin
- Parameters:
plugin- the instance ofPluginto be added- Returns:
-
withPlugins
- Parameters:
plugins- theListofPluginisntances- Returns:
-
withPluginsFromClasspath
Searches for classes annotated byPluginand implementingExecutionEnginePluginin the classpath and add them to the list of plugins to be used by theExecutionEngine- Returns:
-
withOperationMode
Sets the operation mode of theExecutionEngine.OperationMode- Parameters:
operationMode- the operation mode of theExecutionEngine- Returns:
-
withParentContext
Sets a parent context from which the attributes should be inherited- Parameters:
parentContext-- Returns:
-
withObjectHookRegistry
public ExecutionEngine.Builder withObjectHookRegistry(step.core.objectenricher.ObjectHookRegistry objectHookRegistry) Use a specificObjectHookRegistryto handle object enrichment and filtering- Parameters:
objectHookRegistry- theObjectHookRegistryto be used- Returns:
-
build
- Returns:
- creates the
ExecutionEngineinstance
-