org.simulare
Interface Task
- All Superinterfaces:
- Name
- All Known Subinterfaces:
- VisualTask
- All Known Implementing Classes:
- AbstractTask, Report3D
- public interface Task
- extends Name
Defines something that can be executed over a collection of items or directly
on items.
execute
public void execute(Item item)
- Executes atask over an item. And must notify the listeners.
- Parameters:
item
- The item to execute a task over.
addTaskListener
public void addTaskListener(TaskListener l)
removeTaskListener
public void removeTaskListener(TaskListener l)