Package jadex.bpmn.runtime.impl
Class ProcessThreadValueFetcher
java.lang.Object
jadex.bpmn.runtime.impl.ProcessThreadValueFetcher
- All Implemented Interfaces:
jadex.common.IValueFetcher
Value fetcher for process threads.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProcessThreadValueFetcher
(ProcessThread thread, boolean flag, jadex.common.IValueFetcher fetcher) Create a value fetcher for a given process. -
Method Summary
-
Field Details
-
thread
The process thread. -
flag
protected boolean flagThe activity selection flag. -
fetcher
protected jadex.common.IValueFetcher fetcherThe fall back value fetcher (if any). -
ifdef
The ifdefined map.
-
-
Constructor Details
-
ProcessThreadValueFetcher
public ProcessThreadValueFetcher(ProcessThread thread, boolean flag, jadex.common.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 Details
-
fetchValue
Fetch a named value.- Specified by:
fetchValue
in interfacejadex.common.IValueFetcher
- Parameters:
name
- The name.- Returns:
- The fetched value.
-