jadex.testcases.misc
Agent Arguments
jadex.testcases.misc.Arguments
jadex.planlib.AMS
jadex.planlib.Test
- agent Arguments
- contains jadex.planlib.Test, jadex.planlib.AMS
Agent arguments: - arg1 String
- arg2 Object
- arg3 Integer
- arg4 boolean
, timeout- timeout long
, testcenter- testcenter AgentIdentifier
Agent for testing agent arguments.
Command-line starting and argument passing can be done in this style:
a1:jadex.testcases.misc.Arguments(default,arg1=\"juppi\",testcase_cnt=1)
arg1
exported belief String arg1
- Default fact:
"default"
arg2
exported belief Object arg2
arg3
exported belief Integer arg3
- Default fact:
new Integer(3)
arg4
exported belief boolean arg4
- Default fact:
false
testcase_cnt
exported beliefref int testcase_cnt
- Default fact:
1
- Referenced from:
testcase_cnt
in capability jadex.planlib.Test
timeout
exported beliefref long timeout
- Default fact:
0
- Referenced from:
timeout
in capability jadex.planlib.Test
testcenter
exported beliefref AgentIdentifier testcenter
- Referenced from:
testcenter
in capability jadex.planlib.Test
reports
beliefsetref reports
- Referenced from:
reports
in capability jadex.planlib.Test
ams_create_agent
achievegoalref ams_create_agent
- Parameters:
- parameterref
agentidentifier
- parameterref
ams
- parameterref
arguments
- parameterref
configuration
- parameterref
name
- parameterref
start
- parameterref
type
- Referenced from:
ams_create_agent
in capability jadex.planlib.AMS
arguments_plan
standard plan arguments_plan()
- Plan body:
- Plan waitqueue:
- Message events:
inform_created
inform_created
messageevent inform_created(String content,
String performative)
- Parameters:
- fixed parameter
content
Default value:
"worker"
- fixed parameter
performative
Default value:
SFipa.INFORM
- Event flags:
- direction: receive
- message type: fipa
- random selection: false
- post to all: false
default
default configuration default
- Initial Beliefs:
- arg1 Initial value:
"initial"
- testcase_cnt Initial value:
1
- Initial Plans:
- arguments_plan
alternaltive1
configuration alternaltive1
- Initial Beliefs:
- arg1 Initial value:
"initial_alter"
- testcase_cnt Initial value:
2
- Initial Plans:
- arguments_plan
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.