Class RBpmnProcess

java.lang.Object
jadex.bpmn.runtime.RBpmnProcess

public class RBpmnProcess extends Object
  • Field Details

    • filename

      protected String filename
    • args

      protected Map<String,Object> args
    • results

      protected Map<String,Object> results
    • resultsubscribers

      protected List<jadex.future.SubscriptionIntermediateFuture<jadex.common.NameValue>> resultsubscribers
  • Constructor Details

    • RBpmnProcess

      public RBpmnProcess()
      Builder pattern constructor.
    • RBpmnProcess

      public RBpmnProcess(String filename)
      Info with classname already set.
      Parameters:
      classname - The class name of the BDI agent (with or without "bdi:" prefix.
  • Method Details

    • setFilename

      public RBpmnProcess setFilename(String filename)
      Set the class name.
      Parameters:
      classname - The class name of the BDI agent (with or without "bdi:" prefix.
    • getFilename

      public String getFilename()
      Get the file name.
    • addArgument

      public RBpmnProcess addArgument(String name, Object value)
      Add an argument as name/value pair.
    • getArgument

      public Object getArgument(String name)
      Get the argument value.
      Returns:
      the value or null, if not set.
    • hasArgument

      public boolean hasArgument(String name)
    • getArguments

      public Map<String,Object> getArguments()
      Get the arguments copy.
      Returns:
      The arguments.
    • addResult

      public RBpmnProcess addResult(String name, Object value)
      Add an result as name/value pair.
    • getResult

      public Object getResult(String name)
      Get the result value.
      Returns:
      the value or null, if not set.
    • declareResult

      public RBpmnProcess declareResult(String name)
      Declare a result value.
    • hasDeclaredResult

      public boolean hasDeclaredResult(String name)
      Declare a result value.
    • getResults

      public Map<String,Object> getResults()
      Get the results copy.
      Returns:
      The results.
    • notifyResult

      protected void notifyResult(String name, Object value)
    • subscribeToResults

      public jadex.future.ISubscriptionIntermediateFuture<jadex.common.NameValue> subscribeToResults()