Package jadex.bdi.runtime
Class BDICreationInfo
java.lang.Object
jadex.bdi.runtime.BDICreationInfo
Allows providing arguments when starting an agent.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuilder pattern constructor.BDICreationInfo
(String classname) Info with classname already set. -
Method Summary
Modifier and TypeMethodDescriptionaddArgument
(String name, Object value) Add an argument as name/value pair.getArgument
(String name) Get the argument value.Get the class name.setClassname
(String classname) Set the class name.
-
Field Details
-
classname
-
args
-
-
Constructor Details
-
BDICreationInfo
public BDICreationInfo()Builder pattern constructor. -
BDICreationInfo
Info with classname already set.- Parameters:
classname
- The class name of the BDI agent (with or without "bdi:" prefix.
-
-
Method Details
-
setClassname
Set the class name.- Parameters:
classname
- The class name of the BDI agent (with or without "bdi:" prefix.
-
getClassname
Get the class name. -
addArgument
Add an argument as name/value pair. -
getArgument
Get the argument value.- Returns:
- the value or null, if not set.
-