Class ProcessThreadValueFetcher

java.lang.Object
jadex.bpmn.runtime.impl.ProcessThreadValueFetcher
All Implemented Interfaces:
jadex.common.IValueFetcher

public class ProcessThreadValueFetcher extends Object implements jadex.common.IValueFetcher
Value fetcher for process threads.
  • Field Details

    • thread

      protected ProcessThread thread
      The process thread.
    • flag

      protected boolean flag
      The activity selection flag.
    • fetcher

      protected jadex.common.IValueFetcher fetcher
      The fall back value fetcher (if any).
    • ifdef

      protected Map<String,Boolean> 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

      public Object fetchValue(String name)
      Fetch a named value.
      Specified by:
      fetchValue in interface jadex.common.IValueFetcher
      Parameters:
      name - The name.
      Returns:
      The fetched value.