Package jason.mas2j

Class AgentParameters

java.lang.Object
jason.mas2j.AgentParameters
All Implemented Interfaces:
Serializable

public class AgentParameters extends Object implements Serializable
represents the agent declaration in the MAS2J project file. The project parser creates this object while parsing.
See Also:
  • Field Details

  • Constructor Details

    • AgentParameters

      public AgentParameters()
    • AgentParameters

      public AgentParameters(AgentParameters a)
  • Method Details

    • copy

      public AgentParameters copy()
    • copyTo

      protected void copyTo(AgentParameters newap)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDefault

      public void setupDefault()
    • getBBClass

      public ClassParameters getBBClass()
    • setNbInstances

      public void setNbInstances(int i)
    • getNbInstances

      public int getNbInstances()
    • setHost

      public void setHost(String h)
    • getHost

      public String getHost()
    • setAgClass

      public void setAgClass(String c)
    • addArchClass

      public void addArchClass(String... cs)
    • addArchClass

      public void addArchClass(Collection<String> cs)
    • addArchClass

      public void addArchClass(ClassParameters... cps)
    • insertArchClass

      public void insertArchClass(ClassParameters... cps)
    • getAgArchClasses

      public List<String> getAgArchClasses()
      gets a list of all custom arch classes defined in the jason project
    • setBB

      public void setBB(ClassParameters c)
    • setOptions

      public void setOptions(Map<String,String> m)
    • addOption

      public void addOption(String k, String vl)
    • getOption

      public String getOption(String key)
    • getOptions

      public Map<String,String> getOptions()
    • setSource

      public void setSource(URI s)
    • setSource

      public void setSource(String s) throws URISyntaxException
      Throws:
      URISyntaxException
    • getSource

      public URI getSource()
    • getSourceAsFile

      public File getSourceAsFile()
    • getAsInMASProject

      public String getAsInMASProject()
    • getAsSetts

      public Settings getAsSetts(boolean debug, boolean forceSync)
    • getAgName

      public String getAgName()