public class ProcessThreadValueFetcher extends Object implements IValueFetcher
Constructor and Description |
---|
ProcessThreadValueFetcher(ProcessThread thread,
boolean flag,
IValueFetcher fetcher)
Create a value fetcher for a given process.
|
Modifier and Type | Method and Description |
---|---|
Object |
fetchValue(String name)
Fetch a named value.
|
Object |
fetchValue(String name,
Object object)
Fetch a named value from an object.
|
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 Object fetchValue(String name, Object object)
fetchValue
in interface IValueFetcher
name
- The name.object
- The object.public Object fetchValue(String name)
fetchValue
in interface IValueFetcher
name
- The name.Copyright © 2015. All Rights Reserved.