Class ProcessThreadValueFetcher

  • All Implemented Interfaces:
    IValueFetcher

    public class ProcessThreadValueFetcher
    extends java.lang.Object
    implements IValueFetcher
    Value fetcher for process threads.
    • Field Summary

      Fields 
      Modifier and Type Field 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object fetchValue​(java.lang.String name)
      Fetch a named value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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:
        fetchValue in interface IValueFetcher
        Parameters:
        name - The name.
        Returns:
        The fetched value.