cz.cuni.amis.pogamut.ut2004.agent.utils
Class UT2004BotDescriptor<PARAMS extends IRemoteAgentParameters>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.utils.runner.impl.AgentDescriptor<PARAMS,UT2004BotModule>
      extended by cz.cuni.amis.pogamut.ut2004.agent.utils.UT2004BotDescriptor<PARAMS>
All Implemented Interfaces:
IAgentDescriptor<PARAMS,UT2004BotModule>

public class UT2004BotDescriptor<PARAMS extends IRemoteAgentParameters>
extends AgentDescriptor<PARAMS,UT2004BotModule>


Constructor Summary
UT2004BotDescriptor()
           
 
Method Summary
 UT2004BotDescriptor<PARAMS> addParams(PARAMS... params)
          Adds parameters for another agents.
 UT2004BotDescriptor<PARAMS> setAgentModule(UT2004BotModule module)
          Sets agent module to be used for the instantiation of the agent.
 UT2004BotDescriptor<PARAMS> setAgentParameters(PARAMS[] params)
          Clears all the params stored within AgentDescriptor and assigns 'params'.
 UT2004BotDescriptor<PARAMS> setController(java.lang.Class<? extends IUT2004BotController> controllerClass)
           
 UT2004BotDescriptor<PARAMS> setCount(int count)
          Set number of agents to be instantiated.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.utils.runner.impl.AgentDescriptor
getAgentModule, getAgentParameters, getCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004BotDescriptor

public UT2004BotDescriptor()
Method Detail

setController

public UT2004BotDescriptor<PARAMS> setController(java.lang.Class<? extends IUT2004BotController> controllerClass)

setAgentModule

public UT2004BotDescriptor<PARAMS> setAgentModule(UT2004BotModule module)
Description copied from class: AgentDescriptor
Sets agent module to be used for the instantiation of the agent.

For more info see IAgentDescriptor.getAgentModule().

Overrides:
setAgentModule in class AgentDescriptor<PARAMS extends IRemoteAgentParameters,UT2004BotModule>
Returns:
this instance

setAgentParameters

public UT2004BotDescriptor<PARAMS> setAgentParameters(PARAMS[] params)
Description copied from class: AgentDescriptor
Clears all the params stored within AgentDescriptor and assigns 'params'.

For more info see IAgentDescriptor.getAgentParameters().

Overrides:
setAgentParameters in class AgentDescriptor<PARAMS extends IRemoteAgentParameters,UT2004BotModule>
Returns:

addParams

public UT2004BotDescriptor<PARAMS> addParams(PARAMS... params)
Description copied from class: AgentDescriptor
Adds parameters for another agents. Note that the number of parameters must be the same as the count of agents specified via AgentDescriptor.setCount(int).

For more info see IAgentDescriptor.getAgentParameters().

Overrides:
addParams in class AgentDescriptor<PARAMS extends IRemoteAgentParameters,UT2004BotModule>
Returns:
this instance

setCount

public UT2004BotDescriptor<PARAMS> setCount(int count)
Description copied from class: AgentDescriptor
Set number of agents to be instantiated.

For more info see IAgentDescriptor.getCount().

Overrides:
setCount in class AgentDescriptor<PARAMS extends IRemoteAgentParameters,UT2004BotModule>
Returns: