public class ExtinguishFireTask
extends jadex.extension.envsupport.environment.AbstractTask
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_DISASTER
The disaster property.
|
static java.lang.String |
PROPERTY_EXTINGUISHED
The extinguished property (of the space object).
|
static java.lang.String |
PROPERTY_TYPENAME
The task name.
|
Constructor and Description |
---|
ExtinguishFireTask() |
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_DISASTER
public static final java.lang.String PROPERTY_EXTINGUISHED
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.