Package jadex.bpmn.runtime
Class RBpmnProcess
java.lang.Object
jadex.bpmn.runtime.RBpmnProcess
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBuilder pattern constructor.RBpmnProcess
(String filename) Info with classname already set. -
Method Summary
Modifier and TypeMethodDescriptionaddArgument
(String name, Object value) Add an argument as name/value pair.Add an result as name/value pair.declareResult
(String name) Declare a result value.getArgument
(String name) Get the argument value.Get the arguments copy.Get the file name.Get the result value.Get the results copy.boolean
hasArgument
(String name) boolean
hasDeclaredResult
(String name) Declare a result value.protected void
notifyResult
(String name, Object value) setFilename
(String filename) Set the class name.jadex.future.ISubscriptionIntermediateFuture
<jadex.common.NameValue>
-
Field Details
-
filename
-
args
-
results
-
resultsubscribers
protected List<jadex.future.SubscriptionIntermediateFuture<jadex.common.NameValue>> resultsubscribers
-
-
Constructor Details
-
RBpmnProcess
public RBpmnProcess()Builder pattern constructor. -
RBpmnProcess
Info with classname already set.- Parameters:
classname
- The class name of the BDI agent (with or without "bdi:" prefix.
-
-
Method Details
-
setFilename
Set the class name.- Parameters:
classname
- The class name of the BDI agent (with or without "bdi:" prefix.
-
getFilename
Get the file name. -
addArgument
Add an argument as name/value pair. -
getArgument
Get the argument value.- Returns:
- the value or null, if not set.
-
hasArgument
-
getArguments
Get the arguments copy.- Returns:
- The arguments.
-
addResult
Add an result as name/value pair. -
getResult
Get the result value.- Returns:
- the value or null, if not set.
-
declareResult
Declare a result value. -
hasDeclaredResult
Declare a result value. -
getResults
Get the results copy.- Returns:
- The results.
-
notifyResult
-
subscribeToResults
public jadex.future.ISubscriptionIntermediateFuture<jadex.common.NameValue> subscribeToResults()
-