public class MoveTask
extends jadex.extension.envsupport.environment.AbstractTask
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_DESTINATION
The destination property.
|
static java.lang.String |
PROPERTY_SPEED
The speed property of the moving object (units per second).
|
static java.lang.String |
PROPERTY_TYPENAME
The task name.
|
Constructor and Description |
---|
MoveTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute(jadex.extension.envsupport.environment.IEnvironmentSpace space,
jadex.extension.envsupport.environment.ISpaceObject obj,
long progress,
jadex.bridge.service.types.clock.IClockService clock)
Executes the task.
|
isFinished, setFinished, shutdown, start
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
public static final java.lang.String PROPERTY_TYPENAME
public static final java.lang.String PROPERTY_DESTINATION
public static final java.lang.String PROPERTY_SPEED
public void execute(jadex.extension.envsupport.environment.IEnvironmentSpace space, jadex.extension.envsupport.environment.ISpaceObject obj, long progress, jadex.bridge.service.types.clock.IClockService clock)
execute
in interface jadex.extension.envsupport.environment.IObjectTask
execute
in class jadex.extension.envsupport.environment.AbstractTask
space
- The environment in which the task is executing.obj
- The object that is executing the task.progress
- The time that has passed according to the environment executor.