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
FieldsModifier and TypeFieldDescriptionprotected List<ClassParameters> protected URIprotected Stringprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArchClass(ClassParameters... cps) voidaddArchClass(String... cs) voidaddArchClass(Collection<String> cs) voidcopy()protected voidcopyTo(AgentParameters newap) gets a list of all custom arch classes defined in the jason projectgetAsSetts(boolean debug, boolean forceSync) getHost()intvoidinsertArchClass(ClassParameters... cps) voidsetAgClass(String c) voidvoidvoidsetNbInstances(int i) voidsetOptions(Map<String, String> m) voidvoidvoidtoString()
-
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
-