Class DropWasteAction
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.bdiv3.examples.garbagecollector.DropWasteAction
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- ISpaceAction
 
 public class DropWasteAction extends SimplePropertyObject implements ISpaceAction Action for dropping waste on the robots field.
- 
- 
Field Summary- 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceActionACTOR_ID, OBJECT_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description DropWasteAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetId()Returns the ID of the action.java.lang.Objectperform(java.util.Map<java.lang.String,java.lang.Object> parameters, IEnvironmentSpace space)Performs the action.- 
Methods inherited from class jadex.commons.SimplePropertyObjectaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
performpublic java.lang.Object perform(java.util.Map<java.lang.String,java.lang.Object> parameters, IEnvironmentSpace space)Performs the action.- Specified by:
- performin interface- ISpaceAction
- Parameters:
- parameters- parameters for the action
- space- the environment space
- Returns:
- action return value
 
 - 
getIdpublic java.lang.Object getId() Returns the ID of the action.- Returns:
- ID of the action
 
 
- 
 
-