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 SummaryNested Classes Modifier and Type Class Description classProcessThreadValueFetcher.IfDefMap
 - 
Field SummaryFields 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 SummaryConstructors Constructor Description ProcessThreadValueFetcher(ProcessThread thread, boolean flag, IValueFetcher fetcher)Create a value fetcher for a given process.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfetchValue(java.lang.String name)Fetch a named value.
 
- 
- 
- 
Field Detail- 
threadprotected ProcessThread thread The process thread.
 - 
flagprotected boolean flag The activity selection flag.
 - 
fetcherprotected IValueFetcher fetcher The fall back value fetcher (if any).
 - 
ifdefprotected java.util.Map<java.lang.String,java.lang.Boolean> ifdef The ifdefined map.
 
- 
 - 
Constructor Detail- 
ProcessThreadValueFetcherpublic 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- 
fetchValuepublic java.lang.Object fetchValue(java.lang.String name) Fetch a named value.- Specified by:
- fetchValuein interface- IValueFetcher
- Parameters:
- name- The name.
- Returns:
- The fetched value.
 
 
- 
 
-