Package jason.mas2j
Class MAS2JProject
java.lang.Object
jason.mas2j.MAS2JProject
- All Implemented Interfaces:
Serializable
Represents a MAS2J project (usually created from a .mas2j file)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddClassPath(String cp) voidaddDirectiveClass(String id, ClassParameters classname) voidaddSourcePath(String cp) voidchange the source of the agents using the source path information, also considers code from a jar file (if urlPrefix is not null)voidbooleanisJade()static MAS2JProjectvoidvoidsetControlClass(ClassParameters sControl) voidvoidvoidsetInfrastructure(ClassParameters infra) voidvoidsetSocName(String s) voidtoString()
-
Field Details
-
EXT
- See Also:
-
AS_EXT
- See Also:
-
-
Constructor Details
-
MAS2JProject
public MAS2JProject()
-
-
Method Details
-
parse
-
setupDefault
public void setupDefault() -
setDirectory
-
getDirectory
-
setProjectFile
-
getProjectFile
-
setInfrastructure
-
getInfrastructure
-
isJade
public boolean isJade() -
setEnvClass
-
getEnvClass
-
setSocName
-
getSocName
-
setControlClass
-
getControlClass
-
initAgMap
public void initAgMap() -
addAgent
-
getAg
-
getAgents
-
getAllASFiles
-
fixAgentsSrc
public void fixAgentsSrc()change the source of the agents using the source path information, also considers code from a jar file (if urlPrefix is not null) -
addClassPath
-
getClassPaths
-
addSourcePath
-
getSourcePaths
-
addDirectiveClass
-
getDirectiveClasses
-
registerDirectives
public void registerDirectives() -
toString
-