Revision 4350 trunk/libraries/libIverUtiles/src/com/iver/utiles/swing/threads/MonitorableTask.java
MonitorableTask.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.1 2006-03-07 21:00:29 azabala
|
|
48 |
* Revision 1.2 2006-03-09 18:57:39 azabala
|
|
49 | 49 |
* *** empty log message *** |
50 | 50 |
* |
51 |
* Revision 1.1 2006/03/07 21:00:29 azabala |
|
52 |
* *** empty log message *** |
|
51 | 53 |
* |
54 |
* |
|
52 | 55 |
*/ |
53 | 56 |
package com.iver.utiles.swing.threads; |
54 | 57 |
|
58 |
/** |
|
59 |
* Long time task that could be monitored. The monitorization |
|
60 |
* information that this task could offer is:<br> |
|
61 |
* <ul> |
|
62 |
* <li>Defined (number of steps known) or Undefined task</li> |
|
63 |
* <li>Number of steps (for defined tasks)</li> |
|
64 |
* <li>Initial and final step</li> |
|
65 |
* <li>Description of the task (status)</li> |
|
66 |
* <li>Description of subtasks (note)</li> |
|
67 |
* </ul> |
|
68 |
* @author azabala |
|
69 |
* |
|
70 |
*/ |
|
55 | 71 |
public interface MonitorableTask extends CancelableTask, |
56 | 72 |
CancelMonitor { |
57 | 73 |
public int getInitialStep(); |
... | ... | |
59 | 75 |
public int getCurrentStep(); |
60 | 76 |
public String getStatusMessage(); |
61 | 77 |
public String getNote(); |
78 |
public boolean isDefined(); |
|
62 | 79 |
|
63 | 80 |
} |
64 | 81 |
|
Also available in: Unified diff