public class BrainslugContext extends Object
| Constructor and Description |
|---|
BrainslugContext() |
protected void initialize()
public BrainslugContext withAsyncTaskScheduler(AsyncTaskScheduler asyncTaskScheduler)
public BrainslugContext withAsyncTaskStore(AsyncTaskStore asyncTaskStore)
public BrainslugContext withPropertyStore(PropertyStore propertyStore)
public BrainslugContext withDefinitionStore(DefinitionStore definitionStore)
public BrainslugContext withTokenStore(TokenStore tokenStore)
public BrainslugContext withExecutor(FlowExecutor newFlowExecutor)
public BrainslugContext withListenerManager(ListenerManager listenerManager)
public BrainslugContext withRegistry(Registry registry)
public BrainslugContext withPredicateEvaluator(PredicateEvaluator predicateEvaluator)
public BrainslugContext withIdGenerator(UuidGenerator uuidGenerator)
public BrainslugContext addFlowDefinition(FlowDefinition flowDefinition)
public DefinitionStore getDefinitionStore()
public void trigger(TriggerContext context)
public Identifier startFlow(Identifier definitionId, Identifier startNodeId)
public Identifier startFlow(Identifier definitionId, Identifier startNodeId, ExecutionProperties properties)
public BrainslugContext start()
public BrainslugContext stop()
public ListenerManager getListenerManager()
public Registry getRegistry()
public PredicateEvaluator getPredicateEvaluator()
public FlowExecutor getFlowExecutor()
public TokenStore getTokenStore()
public PropertyStore getPropertyStore()
public AsyncTaskScheduler getAsyncTaskScheduler()
public IdGenerator getIdGenerator()
public AsyncTaskStore getAsyncTaskStore()
Copyright © 2014. All rights reserved.