|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskStatusManager
Method Summary | |
---|---|
void |
add(TaskStatus taskStatus)
Add the TaskStatus to the TaskStatusManager. |
SimpleTaskStatus |
createDefaultSimpleTaskStatus(String label)
Create a new instance of the default implementation of a SimpleTaskStatus. |
SimpleTaskStatus |
creteDefaultSimpleTaskStatus(String label)
Deprecated. @see createDefaultSimpleTaskStatus(String) |
TaskStatus |
get(String code)
Retrieve a TaskStatus from the manager by code. |
Map |
getAll()
Get a unmodifiable Map with all the TaskStatus in the manager. |
String |
getNewCode()
Return a new code to a TaskStatus. |
TaskStatus |
getRunningTaskStatusMostRecent()
Return the running task status most recent. |
void |
remove(String code)
Remove the TaskStatus by the passed code from the manager |
void |
remove(TaskStatus taskStatus)
Remove the TaskStatus from the mananger. |
void |
update(TaskStatus taskstatus)
Inform to the manager that this task status has changed. |
Methods inherited from interface org.gvsig.tools.observer.Observable |
---|
addObserver, deleteObserver, deleteObservers |
Method Detail |
---|
void add(TaskStatus taskStatus)
taskStatus
- to add to the managerTaskStatus get(String code)
code
- of the TaskStatus to retrieve
void remove(String code)
code
- of the TaskStatus to removevoid remove(TaskStatus taskStatus)
taskStatus
- Map getAll()
String getNewCode()
void update(TaskStatus taskstatus)
taskstatus
- SimpleTaskStatus creteDefaultSimpleTaskStatus(String label)
createDefaultSimpleTaskStatus(String)
label
- used in the title of the new TaskStatus.
SimpleTaskStatus createDefaultSimpleTaskStatus(String label)
label
- used in the title of the new TaskStatus.
TaskStatus getRunningTaskStatusMostRecent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |