Class BDICreationInfo

java.lang.Object
jadex.bdi.runtime.BDICreationInfo

public class BDICreationInfo extends Object
Allows providing arguments when starting an agent.
  • Field Details

  • Constructor Details

    • BDICreationInfo

      public BDICreationInfo()
      Builder pattern constructor.
    • BDICreationInfo

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

    • setClassname

      public BDICreationInfo setClassname(String classname)
      Set the class name.
      Parameters:
      classname - The class name of the BDI agent (with or without "bdi:" prefix.
    • getClassname

      public String getClassname()
      Get the class name.
    • addArgument

      public BDICreationInfo 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.