|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskManager
TaskManager interface
Method Summary | |
TaskInfo |
getCurrentTask()
Returns a descriptor of the task the caller belongs to. |
TaskInfo |
getForegroundTask()
Returns foreground task. |
TaskInfo[] |
getTaskList(boolean includeSystem)
Returns an array of running tasks. |
void |
setStatusListener(TaskManagerListener theListener)
Assigns the task status update listener |
TaskInfo |
startTask(java.lang.String suiteName,
java.lang.String vendorName,
java.lang.String className)
Starts task with given parameters. |
Method Detail |
TaskInfo startTask(java.lang.String suiteName, java.lang.String vendorName, java.lang.String className)
suiteName
- suite name where the task launched fromvendorName
- vendor of the suite where the task
launched fromclassName
- startup class
TaskInfo getForegroundTask()
TaskInfo[] getTaskList(boolean includeSystem)
includeSystem
- indicates whether to include system task
into list.
TaskInfo getCurrentTask()
void setStatusListener(TaskManagerListener theListener)
theListener
- TaskManagerListener
implementation
or null
to remove any listener
|
Oracle Java Wireless Client | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |