|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskMonitor
NOT COMPLETE This is the interface used by the task implementor to access services offered by the TaskManager during the execution of the task. Currently the only services offered are update and progress reporting.
Method Summary | |
---|---|
void |
fireProgress(ProgressEvent e) call this method to fire a progress update regarding the task.\ |
void |
fireUpdate(UpdateEvent e) call this method to fire a general update regarding the task. |
Task |
getSource() Retrieve the Task that this TaskMonitor is initialized for. |
TaskMonitor |
getTaskMonitorForSegment(int lastProgressCount, int maxProgressCount) Creates a new instance of a TaskMonitor object with the maximum progress normalized to the given value that can then be passed on to a child process or method. |
Method Detail |
---|
void fireUpdate(UpdateEvent e)
e
- TaskUpdate an update object containing information about the updatevoid fireProgress(ProgressEvent e)
e
- TaskProgress the progress object containing details of the task progress.TaskMonitor getTaskMonitorForSegment(int lastProgressCount, int maxProgressCount)
maxProgressCount
- int maximum progress count of the child.lastProgressCount
- int last progress count of the parent.Task getSource()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |