|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcreme.processing.BaseTaskActivityMonitor
org.jcreme.processing.RMITaskActivityMonitor
This class enables to encapsulate a RemoteTaskActivityMonitor and use it as any TaskActivityMonitor.
| Nested Class Summary | |
class |
RMITaskActivityMonitor.RemoteListenerImpl
The RemoteListener implementation used by the RMITaskActivityMonitor. |
| Field Summary |
| Fields inherited from interface org.jcreme.processing.TaskActivityMonitor |
COMPLETION_PERCENTAGE_PROPERTY, END_DATE_PROPERTY, START_DATE_PROPERTY, TASK_NAME_PROPERTY |
| Constructor Summary | |
RMITaskActivityMonitor(RemoteTaskActivityMonitor monitor)
Creates new RMITaskActivityMonitor |
|
| Method Summary | |
protected void |
finalize()
|
java.lang.Double |
getCompletionPercentage()
Gives access to the completion percentage of the task. |
java.util.Date |
getEndDate()
Gives access to the task's completion date. |
java.util.Date |
getStartDate()
Gives access to the date when the task started. |
java.lang.String |
getTaskName()
Gives access to the task's name. |
void |
unbind()
This method unregisters this object as a listener of the RemoteTaskActivityMonitor. |
| Methods inherited from class org.jcreme.processing.BaseTaskActivityMonitor |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getElapsedTime, removePropertyChangeListener, removePropertyChangeListener, setCompletionPercentage, setEndDate, setStartDate, setTaskName |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jcreme.processing.TaskActivityMonitor |
addPropertyChangeListener, addPropertyChangeListener, getElapsedTime, removePropertyChangeListener, removePropertyChangeListener |
| Constructor Detail |
public RMITaskActivityMonitor(RemoteTaskActivityMonitor monitor)
throws java.lang.IllegalArgumentException
monitor - the remote monitor to encapulate.
java.lang.IllegalArgumentException - if the monitor is null.| Method Detail |
public java.util.Date getEndDate()
getEndDate in interface TaskActivityMonitorgetEndDate in class BaseTaskActivityMonitorpublic java.lang.String getTaskName()
getTaskName in interface TaskActivityMonitorgetTaskName in class BaseTaskActivityMonitorpublic java.lang.Double getCompletionPercentage()
getCompletionPercentage in interface TaskActivityMonitorgetCompletionPercentage in class BaseTaskActivityMonitorpublic java.util.Date getStartDate()
getStartDate in interface TaskActivityMonitorgetStartDate in class BaseTaskActivityMonitorpublic void unbind()
protected void finalize()
throws java.lang.Throwable
java.lang.ThrowableObject.finalize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||