Skip navigation links
A B C D E F G H I J L M N P R S T U V W 

A

AbstractTokenStore - Class in brainslug.flow.execution.impl
 
AbstractTokenStore() - Constructor for class brainslug.flow.execution.impl.AbstractTokenStore
 
add(Token) - Method in class brainslug.flow.execution.TokenList
 
addFlowDefinition(FlowDefinition) - Method in class brainslug.flow.context.BrainslugContext
 
addListener(EventType, Listener) - Method in class brainslug.flow.listener.DefaultListenerManager
 
addListener(EventType, Listener) - Method in interface brainslug.flow.listener.ListenerManager
 
addNodeExecutorMappings() - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
addToken(Identifier, Identifier, Option<Identifier>) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
addToken(TriggerContext, FlowNodeDefinition<?>, FlowNodeDefinition) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
addToken(Identifier, Identifier, Option<Identifier>) - Method in interface brainslug.flow.execution.TokenStore
 
AsyncTaskScheduler - Interface in brainslug.flow.execution
 

B

brainslug.flow.context - package brainslug.flow.context
 
brainslug.flow.execution - package brainslug.flow.execution
 
brainslug.flow.execution.expression - package brainslug.flow.execution.expression
 
brainslug.flow.execution.impl - package brainslug.flow.execution.impl
 
brainslug.flow.listener - package brainslug.flow.listener
 
brainslug.util - package brainslug.util
 
BrainslugContext - Class in brainslug.flow.context
 
BrainslugContext() - Constructor for class brainslug.flow.context.BrainslugContext
 

C

ChoiceNodeExecutor - Class in brainslug.flow.execution.impl
 
ChoiceNodeExecutor() - Constructor for class brainslug.flow.execution.impl.ChoiceNodeExecutor
 
consumeAllNodeTokens(Identifier, Identifier) - Method in class brainslug.flow.execution.impl.DefaultNodeExecutor
 
context - Variable in class brainslug.flow.execution.impl.ExecutorServiceScheduler
 
context - Variable in class brainslug.flow.execution.impl.TokenFlowExecutor
 
ContextAware - Interface in brainslug.flow.context
 
createExecutionContext(TriggerContext) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
createInstance(Identifier) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
createInstance(Identifier) - Method in interface brainslug.flow.execution.TokenStore
 
createTriggerContextForNextNode(TriggerContext<?>, FlowNodeDefinition<?>, FlowNodeDefinition) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 

D

DefaultExecutionContext - Class in brainslug.flow.execution.impl
 
DefaultExecutionContext(TriggerContext, BrainslugContext) - Constructor for class brainslug.flow.execution.impl.DefaultExecutionContext
 
DefaultListenerManager - Class in brainslug.flow.listener
 
DefaultListenerManager() - Constructor for class brainslug.flow.listener.DefaultListenerManager
 
DefaultNodeExecutor<T extends FlowNodeDefinition> - Class in brainslug.flow.execution.impl
 
DefaultNodeExecutor() - Constructor for class brainslug.flow.execution.impl.DefaultNodeExecutor
 
DefaultPredicateEvaluator - Class in brainslug.flow.execution.expression
 
DefaultPredicateEvaluator() - Constructor for class brainslug.flow.execution.expression.DefaultPredicateEvaluator
 
definitionId - Variable in class brainslug.flow.execution.TriggerContext
 
definitionId(Enum) - Method in class brainslug.flow.execution.TriggerContext
 
definitionId(String) - Method in class brainslug.flow.execution.TriggerContext
 
definitionId(Identifier) - Method in class brainslug.flow.execution.TriggerContext
 

E

equals(Object) - Method in class brainslug.flow.execution.Token
 
equals(Object) - Method in class brainslug.flow.execution.TriggerContext
TODO: should we include the properties into equals?
evaluate(EqualDefinition, ExecutionContext) - Method in interface brainslug.flow.context.PredicateEvaluator
 
evaluate(EqualDefinition, ExecutionContext) - Method in class brainslug.flow.execution.expression.DefaultPredicateEvaluator
 
EventType - Enum in brainslug.flow.listener
 
Execute - Annotation Type in brainslug.flow.execution
Identifies a method which is meant for execution in a HandlerCallDefinition callee.
execute(T, ExecutionContext) - Method in interface brainslug.flow.execution.FlowNodeExecutor
 
execute(ChoiceDefinition, ExecutionContext) - Method in class brainslug.flow.execution.impl.ChoiceNodeExecutor
 
execute(T, ExecutionContext) - Method in class brainslug.flow.execution.impl.DefaultNodeExecutor
 
execute(JoinDefinition, ExecutionContext) - Method in class brainslug.flow.execution.impl.JoinNodeExecutor
 
execute(EventDefinition, ExecutionContext) - Method in class brainslug.flow.execution.impl.StrictEventNode
 
execute(AbstractTaskDefinition, ExecutionContext) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
execute(ExecutionContext) - Method in class brainslug.flow.execution.SimpleTask
 
executeDelegate(Object, ExecutionContext) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
executeServiceMethodCall(AbstractTaskDefinition, ServiceCallDefinition, ExecutionContext) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
executionArguments(ExecutionContext, Method) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
ExecutionContext - Interface in brainslug.flow.execution
 
ExecutionProperties - Class in brainslug.flow.execution
 
ExecutionProperties() - Constructor for class brainslug.flow.execution.ExecutionProperties
 
ExecutorServiceScheduler - Class in brainslug.flow.execution.impl
 
ExecutorServiceScheduler() - Constructor for class brainslug.flow.execution.impl.ExecutorServiceScheduler
 

F

FlowExecutor - Interface in brainslug.flow.execution
 
FlowNodeExecutor<T extends FlowNodeDefinition> - Interface in brainslug.flow.execution
 

G

generateId() - Method in interface brainslug.flow.context.IdGenerator
 
generateId() - Method in class brainslug.util.UuidGenerator
 
get(Object) - Method in class brainslug.flow.execution.ExecutionProperties
 
getAsyncTaskScheduler() - Method in class brainslug.flow.context.BrainslugContext
 
getBrainslugContext() - Method in interface brainslug.flow.execution.ExecutionContext
 
getBrainslugContext() - Method in class brainslug.flow.execution.impl.DefaultExecutionContext
 
getDefinitionId() - Method in class brainslug.flow.execution.TriggerContext
 
getDefinitionStore() - Method in class brainslug.flow.context.BrainslugContext
 
getFirstMethodAnnotatedWith(Class<?>, Class<? extends Annotation>) - Static method in class brainslug.util.ReflectionUtil
taken from http://stackoverflow.com/questions/6593597/java-seek-a-method-with-specific-annotation-and-its-annotation-element
getFlowExecutor() - Method in class brainslug.flow.context.BrainslugContext
 
getId() - Method in class brainslug.flow.execution.Token
 
getIdGenerator() - Method in class brainslug.flow.context.BrainslugContext
 
getInstanceId() - Method in class brainslug.flow.execution.Token
 
getInstanceId() - Method in class brainslug.flow.execution.TriggerContext
 
getInstanceTokens(Identifier) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
getInstanceTokens(Identifier) - Method in interface brainslug.flow.execution.TokenStore
 
getIterator() - Method in class brainslug.flow.execution.TokenList
 
getListenerManager() - Method in class brainslug.flow.context.BrainslugContext
 
getNodeExecutor(T) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
getNodeId() - Method in class brainslug.flow.execution.Token
 
getNodeId() - Method in class brainslug.flow.execution.TriggerContext
 
getNodeTokens(Identifier, Identifier) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
getNodeTokens(Identifier, Identifier) - Method in interface brainslug.flow.execution.TokenStore
 
getOrCreateInstanceList(Identifier) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
getOrCreateTokenList(Map<Identifier, List<Token>>, Identifier) - Method in class brainslug.flow.execution.TokenList
 
getPredicateEvaluator() - Method in class brainslug.flow.context.BrainslugContext
 
getProperties() - Method in class brainslug.flow.execution.TriggerContext
 
getProperty(Object, Class<P>) - Method in class brainslug.flow.execution.TriggerContext
 
getProperty(Class<P>) - Method in class brainslug.flow.execution.TriggerContext
 
getPropertyStore() - Method in class brainslug.flow.context.BrainslugContext
 
getRegistry() - Method in class brainslug.flow.context.BrainslugContext
 
getService(Class<T>) - Method in class brainslug.flow.context.HashMapRegistry
 
getService(Class<T>) - Method in interface brainslug.flow.context.Registry
 
getSourceNode() - Method in class brainslug.flow.execution.Token
 
getSourceNodeId() - Method in class brainslug.flow.execution.TriggerContext
 
getStartNodeDefinition(Identifier, Identifier) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
getTokens() - Method in class brainslug.flow.execution.TokenList
 
getTokenStore() - Method in class brainslug.flow.context.BrainslugContext
 
getTrigger() - Method in interface brainslug.flow.execution.ExecutionContext
 
getTrigger() - Method in class brainslug.flow.execution.impl.DefaultExecutionContext
 
groupedBySourceNode() - Method in class brainslug.flow.execution.TokenList
 

H

hashCode() - Method in class brainslug.flow.execution.Token
 
hashCode() - Method in class brainslug.flow.execution.TriggerContext
 
HashMapPropertyStore - Class in brainslug.flow.execution.impl
 
HashMapPropertyStore() - Constructor for class brainslug.flow.execution.impl.HashMapPropertyStore
 
HashMapRegistry - Class in brainslug.flow.context
 
HashMapRegistry() - Constructor for class brainslug.flow.context.HashMapRegistry
 
HashMapTokenStore - Class in brainslug.flow.execution.impl
 
HashMapTokenStore(IdGenerator) - Constructor for class brainslug.flow.execution.impl.HashMapTokenStore
 

I

IdGenerator - Interface in brainslug.flow.context
 
instanceId - Variable in class brainslug.flow.execution.TriggerContext
 
instanceId(Identifier) - Method in class brainslug.flow.execution.TriggerContext
 
invokeServiceMethodWithArguments(AbstractTaskDefinition, Class<?>, String, Object) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
invokeServiceMethodWithContext(ExecutionContext, Object, Method) - Method in class brainslug.flow.execution.impl.TaskNodeExecutor
 
isDead() - Method in class brainslug.flow.execution.Token
 
isRootToken() - Method in class brainslug.flow.execution.Token
 

J

JoinNodeExecutor - Class in brainslug.flow.execution.impl
 
JoinNodeExecutor() - Constructor for class brainslug.flow.execution.impl.JoinNodeExecutor
 

L

Listener - Interface in brainslug.flow.listener
 
ListenerManager - Interface in brainslug.flow.listener
 
loadProperties(Identifier<?>) - Method in class brainslug.flow.execution.impl.HashMapPropertyStore
 
loadProperties(Identifier<?>) - Method in interface brainslug.flow.execution.PropertyStore
load properties for an instance

M

mergeProperties(TriggerContext, DefaultExecutionContext) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 

N

nodeId - Variable in class brainslug.flow.execution.TriggerContext
 
nodeId(Identifier) - Method in class brainslug.flow.execution.TriggerContext
 
notify(TriggerContext<?>) - Method in interface brainslug.flow.listener.Listener
 
notifyListeners(EventType, TriggerContext) - Method in class brainslug.flow.listener.DefaultListenerManager
 
notifyListeners(EventType, TriggerContext) - Method in interface brainslug.flow.listener.ListenerManager
 

P

PredicateEvaluator - Interface in brainslug.flow.context
 
properties - Variable in class brainslug.flow.execution.TriggerContext
 
properties(ExecutionProperties) - Method in class brainslug.flow.execution.TriggerContext
 
property(Object) - Method in class brainslug.flow.execution.TriggerContext
 
property(Object, Object) - Method in class brainslug.flow.execution.TriggerContext
 
PropertyStore - Interface in brainslug.flow.execution
A storage for flow instance properties.
put(Object, Object) - Method in class brainslug.flow.execution.ExecutionProperties
 
putAll(ExecutionProperties) - Method in class brainslug.flow.execution.ExecutionProperties
 

R

ReflectionUtil - Class in brainslug.util
 
ReflectionUtil() - Constructor for class brainslug.util.ReflectionUtil
 
registerService(Class<T>, T) - Method in class brainslug.flow.context.HashMapRegistry
 
registerService(Class<T>, T) - Method in interface brainslug.flow.context.Registry
 
Registry - Interface in brainslug.flow.context
 
removeListener(Listener) - Method in class brainslug.flow.listener.DefaultListenerManager
 
removeListener(Listener) - Method in interface brainslug.flow.listener.ListenerManager
 
removeToken(Identifier, Identifier) - Method in class brainslug.flow.execution.impl.HashMapTokenStore
 
removeToken(Identifier, Identifier) - Method in interface brainslug.flow.execution.TokenStore
 
removeTokens(Identifier, List<Token>) - Method in class brainslug.flow.execution.impl.DefaultNodeExecutor
 

S

scheduleTask(Identifier, Identifier, Identifier, Identifier) - Method in interface brainslug.flow.execution.AsyncTaskScheduler
 
scheduleTask(Identifier, Identifier, Identifier, Identifier) - Method in class brainslug.flow.execution.impl.ExecutorServiceScheduler
 
setContext(BrainslugContext) - Method in interface brainslug.flow.context.ContextAware
 
setContext(BrainslugContext) - Method in class brainslug.flow.execution.impl.ExecutorServiceScheduler
 
setContext(BrainslugContext) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
setContext(BrainslugContext) - Method in class brainslug.flow.listener.DefaultListenerManager
 
setDead(boolean) - Method in class brainslug.flow.execution.Token
 
setProperty(Object, Object) - Method in class brainslug.flow.execution.TriggerContext
 
SimpleTask - Class in brainslug.flow.execution
 
SimpleTask() - Constructor for class brainslug.flow.execution.SimpleTask
 
sourceNodeId - Variable in class brainslug.flow.execution.TriggerContext
 
sourceNodeId(Identifier) - Method in class brainslug.flow.execution.TriggerContext
 
sourceNodeMap(List<Token>) - Method in class brainslug.flow.execution.TokenList
 
start() - Method in interface brainslug.flow.execution.AsyncTaskScheduler
 
start() - Method in class brainslug.flow.execution.impl.ExecutorServiceScheduler
 
startFlow(Identifier, Identifier) - Method in class brainslug.flow.context.BrainslugContext
 
startFlow(Identifier, Identifier, ExecutionProperties) - Method in class brainslug.flow.context.BrainslugContext
 
startFlow(TriggerContext<?>) - Method in interface brainslug.flow.execution.FlowExecutor
 
startFlow(TriggerContext<?>) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
stop() - Method in interface brainslug.flow.execution.AsyncTaskScheduler
 
stop() - Method in class brainslug.flow.execution.impl.ExecutorServiceScheduler
 
storeProperties(Identifier<?>, ExecutionProperties) - Method in class brainslug.flow.execution.impl.HashMapPropertyStore
 
storeProperties(Identifier<?>, ExecutionProperties) - Method in interface brainslug.flow.execution.PropertyStore
 
StrictEventNode - Class in brainslug.flow.execution.impl
 
StrictEventNode() - Constructor for class brainslug.flow.execution.impl.StrictEventNode
 

T

takeAll(FlowNodeDefinition<?>) - Method in class brainslug.flow.execution.impl.DefaultNodeExecutor
 
takeNone() - Method in class brainslug.flow.execution.impl.DefaultNodeExecutor
 
TaskNodeExecutor - Class in brainslug.flow.execution.impl
 
TaskNodeExecutor() - Constructor for class brainslug.flow.execution.impl.TaskNodeExecutor
 
Token - Class in brainslug.flow.execution
 
Token(String, String, String, String, int) - Constructor for class brainslug.flow.execution.Token
 
Token(Identifier, Identifier, Option<Identifier>, Option<Identifier>, boolean) - Constructor for class brainslug.flow.execution.Token
 
TokenFlowExecutor - Class in brainslug.flow.execution.impl
 
TokenFlowExecutor(BrainslugContext) - Constructor for class brainslug.flow.execution.impl.TokenFlowExecutor
 
TokenList - Class in brainslug.flow.execution
 
TokenList(List<Token>) - Constructor for class brainslug.flow.execution.TokenList
 
tokenStore - Variable in class brainslug.flow.execution.impl.DefaultNodeExecutor
 
tokenStore - Variable in class brainslug.flow.execution.impl.TokenFlowExecutor
 
TokenStore - Interface in brainslug.flow.execution
 
toString() - Method in class brainslug.flow.execution.Token
 
toString() - Method in class brainslug.flow.execution.TriggerContext
 
trigger(TriggerContext) - Method in class brainslug.flow.context.BrainslugContext
 
trigger(TriggerContext<?>) - Method in interface brainslug.flow.execution.FlowExecutor
 
trigger(TriggerContext<?>) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
TriggerContext<T extends TriggerContext> - Class in brainslug.flow.execution
 
TriggerContext() - Constructor for class brainslug.flow.execution.TriggerContext
 
triggerNext(TriggerContext, FlowNodeDefinition<?>, List<FlowNodeDefinition>) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 

U

UuidGenerator - Class in brainslug.util
 
UuidGenerator() - Constructor for class brainslug.util.UuidGenerator
 

V

valueOf(String) - Static method in enum brainslug.flow.listener.EventType
Returns the enum constant of this type with the specified name.
values() - Method in class brainslug.flow.execution.ExecutionProperties
 
values() - Static method in enum brainslug.flow.listener.EventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitingForExternalTrigger(FlowNodeDefinition) - Method in class brainslug.flow.execution.impl.TokenFlowExecutor
 
with(Object, Object) - Static method in class brainslug.flow.execution.ExecutionProperties
 
withAsyncTaskScheduler(AsyncTaskScheduler) - Method in class brainslug.flow.context.BrainslugContext
 
withDefinitionStore(DefinitionStore) - Method in class brainslug.flow.context.BrainslugContext
 
withExecutor(FlowExecutor) - Method in class brainslug.flow.context.BrainslugContext
 
withIdGenerator(UuidGenerator) - Method in class brainslug.flow.context.BrainslugContext
 
withListenerManager(ListenerManager) - Method in class brainslug.flow.context.BrainslugContext
 
withPredicateEvaluator(PredicateEvaluator) - Method in class brainslug.flow.context.BrainslugContext
 
withPropertyStore(HashMapPropertyStore) - Method in class brainslug.flow.context.BrainslugContext
 
withRegistry(Registry) - Method in class brainslug.flow.context.BrainslugContext
 
withTokenStore(TokenStore) - Method in class brainslug.flow.context.BrainslugContext
 
A B C D E F G H I J L M N P R S T U V W 
Skip navigation links

Copyright © 2014. All rights reserved.