robot.de.comp.additional
Class MaintainLoadAmount

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by org.dyncle.ComponentBehaviour
              extended by org.dyncle.ADTypeComponent
                  extended by robot.de.comp.additional.MaintainLoadAmount
All Implemented Interfaces:
java.io.Serializable

public class MaintainLoadAmount
extends ADTypeComponent

Component for managing load amount

Author:
Hiroyuki NAKAGAWA
See Also:
Serialized Form

Field Summary
 int currentLoadAmount
           
 
Fields inherited from class org.dyncle.ComponentBehaviour
mode, name, priority, serviceType
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
MaintainLoadAmount(SASystem agent)
           
 
Method Summary
 boolean activateCondition()
           
 void passivate()
          Passivates the component's service
 void perform()
          Execution task
 
Methods inherited from class org.dyncle.ADTypeComponent
activateLowerCLs, getEngine, makePlan, passivateLowerCLs, setRules
 
Methods inherited from class org.dyncle.ComponentBehaviour
action, activate, addPort, connectPorts, disconnectPorts, done, getName, getPriority, getProvidedPorts, getRequiredPorts, getServiceType, setName, setServiceType, terminate
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getRestartCounter, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentLoadAmount

public int currentLoadAmount
Constructor Detail

MaintainLoadAmount

public MaintainLoadAmount(SASystem agent)
Method Detail

perform

public void perform()
Execution task

Specified by:
perform in class ComponentBehaviour

activateCondition

public boolean activateCondition()

passivate

public void passivate()
Passivates the component's service

Overrides:
passivate in class ComponentBehaviour