Interface ISpaceAction
-
- All Superinterfaces:
IPropertyObject
- All Known Implementing Classes:
BurnWasteAction
,BurnWasteAction
,DropWasteAction
,DropWasteAction
,DropWasteAction
,EatAction
,EatAction
,EmptyWastebinAction
,GetPosition
,GetPosition
,GoAction
,GoAction
,MoveAction
,MoveAction
,MoveAction
,MoveAction
,PickupWasteAction
,PickupWasteAction
,PickupWasteAction
,SetPosition
,SetPosition
public interface ISpaceAction extends IPropertyObject
Interface for space actions. These actions can be executed synchronously or asynchronously in the space according to the perform method chosen.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
perform(java.util.Map<java.lang.String,java.lang.Object> parameters, IEnvironmentSpace space)
Executes the delayed action.-
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
-
-
-
-
Field Detail
-
OBJECT_ID
static final java.lang.String OBJECT_ID
The constant for the object id parameter (target of the action).- See Also:
- Constant Field Values
-
ACTOR_ID
static final java.lang.String ACTOR_ID
The constant for the actor id parameter (component performing the action).- See Also:
- Constant Field Values
-
-
Method Detail
-
perform
java.lang.Object perform(java.util.Map<java.lang.String,java.lang.Object> parameters, IEnvironmentSpace space)
Executes the delayed action. Called by the Executor.- Parameters:
parameters
- parameters for the actionspace
- the environment space
-
-