Package jason.mas2j
Class AgentParameters
java.lang.Object
jason.mas2j.AgentParameters
- All Implemented Interfaces:
Serializable
represents the agent declaration in the MAS2J project file.
The project parser creates this object while parsing.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<ClassParameters> protected URI
protected String
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArchClass
(ClassParameters... cps) void
addArchClass
(String... cs) void
addArchClass
(Collection<String> cs) void
copy()
protected void
copyTo
(AgentParameters newap) gets a list of all custom arch classes defined in the jason projectgetAsSetts
(boolean debug, boolean forceSync) getHost()
int
void
insertArchClass
(ClassParameters... cps) void
setAgClass
(String c) void
void
void
setNbInstances
(int i) void
setOptions
(Map<String, String> m) void
void
void
toString()
-
Field Details
-
name
-
asSource
-
agClass
-
bbClass
-
nbInstances
protected int nbInstances -
options
-
archClasses
-
host
-
-
Constructor Details
-
AgentParameters
public AgentParameters() -
AgentParameters
-
-
Method Details
-
copy
-
copyTo
-
toString
-
setupDefault
public void setupDefault() -
getBBClass
-
setNbInstances
public void setNbInstances(int i) -
getNbInstances
public int getNbInstances() -
setHost
-
getHost
-
setAgClass
-
addArchClass
-
addArchClass
-
addArchClass
-
insertArchClass
-
getAgArchClasses
gets a list of all custom arch classes defined in the jason project -
setBB
-
setOptions
-
addOption
-
getOption
-
getOptions
-
setSource
-
setSource
- Throws:
URISyntaxException
-
getSource
-
getSourceAsFile
-
getAsInMASProject
-
getAsSetts
-
getAgName
-