public class ProcessThreadValueFetcher extends java.lang.Object implements IValueFetcher
Modifier and Type | Class and Description |
---|---|
class |
ProcessThreadValueFetcher.IfDefMap |
Modifier and Type | Field and Description |
---|---|
protected IValueFetcher |
fetcher
The fall back value fetcher (if any).
|
protected boolean |
flag
The activity selection flag.
|
protected java.util.Map<java.lang.String,java.lang.Boolean> |
ifdef
The ifdefined map.
|
protected ProcessThread |
thread
The process thread.
|
Constructor and Description |
---|
ProcessThreadValueFetcher(ProcessThread thread,
boolean flag,
IValueFetcher fetcher)
Create a value fetcher for a given process.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fetchValue(java.lang.String name)
Fetch a named value.
|
protected ProcessThread thread
protected boolean flag
protected IValueFetcher fetcher
protected java.util.Map<java.lang.String,java.lang.Boolean> ifdef
public ProcessThreadValueFetcher(ProcessThread thread, boolean flag, IValueFetcher fetcher)
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.public java.lang.Object fetchValue(java.lang.String name)
fetchValue
in interface IValueFetcher
name
- The name.