Package jadex.bpmn.runtime
Class ProcessThreadValueFetcher
- java.lang.Object
 - 
- jadex.bpmn.runtime.ProcessThreadValueFetcher
 
 
- 
- All Implemented Interfaces:
 IValueFetcher
public class ProcessThreadValueFetcher extends java.lang.Object implements IValueFetcher
Value fetcher for process threads. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classProcessThreadValueFetcher.IfDefMap 
- 
Field Summary
Fields Modifier and Type Field Description protected IValueFetcherfetcherThe fall back value fetcher (if any).protected booleanflagThe activity selection flag.protected java.util.Map<java.lang.String,java.lang.Boolean>ifdefThe ifdefined map.protected ProcessThreadthreadThe process thread. 
- 
Constructor Summary
Constructors Constructor Description ProcessThreadValueFetcher(ProcessThread thread, boolean flag, IValueFetcher fetcher)Create a value fetcher for a given process. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfetchValue(java.lang.String name)Fetch a named value. 
 - 
 
- 
- 
Field Detail
- 
thread
protected ProcessThread thread
The process thread. 
- 
flag
protected boolean flag
The activity selection flag. 
- 
fetcher
protected IValueFetcher fetcher
The fall back value fetcher (if any). 
- 
ifdef
protected java.util.Map<java.lang.String,java.lang.Boolean> ifdef
The ifdefined map. 
 - 
 
- 
Constructor Detail
- 
ProcessThreadValueFetcher
public ProcessThreadValueFetcher(ProcessThread thread, boolean flag, IValueFetcher fetcher)
Create a value fetcher for a given process.- Parameters:
 thread- The process thread.flag- Flag to indicate that values should be fetched from the next activity (otherwise previous activity is used).fetcher- The fall back fetcher, if any.
 
 - 
 
- 
Method Detail
- 
fetchValue
public java.lang.Object fetchValue(java.lang.String name)
Fetch a named value.- Specified by:
 fetchValuein interfaceIValueFetcher- Parameters:
 name- The name.- Returns:
 - The fetched value.
 
 
 - 
 
 -