|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.services.qsys.commands.QSYSBatchCommandMonitor
public class QSYSBatchCommandMonitor
A monitor to support cancellation of operations in an environment where Eclipse IProgressMonitor is not available.
| Constructor Summary | |
|---|---|
QSYSBatchCommandMonitor()
|
|
| Method Summary | |
|---|---|
String |
getCommandName()
|
String |
getEventFileName()
|
String |
getJobInfo()
|
Vector<Object> |
getMessages()
|
boolean |
isCancelled()
Returns whether cancelation of current operation has been requested. |
boolean |
isDone()
Notifies that the work is done; that is, either the main task is completed or the user cancelled it. |
void |
setCancelled(boolean value)
Sets the cancel state to the given value. |
void |
setCommandName(String commandName)
|
void |
setDone(boolean value)
Sets the done state to the given value. |
void |
setEventFileName(String eventFileName)
|
void |
setJobInfo(String jobInfo)
|
void |
setMessages(Vector<Object> messages)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QSYSBatchCommandMonitor()
| Method Detail |
|---|
public boolean isDone()
IQSYSBatchCommandMonitor
isDone in interface IQSYSBatchCommandMonitorpublic void setDone(boolean value)
IQSYSBatchCommandMonitor
setDone in interface IQSYSBatchCommandMonitorvalue - true indicates that this operation has finished
false clears this flagIQSYSBatchCommandMonitor.isDone()public boolean isCancelled()
IQSYSBatchCommandMonitor
isCancelled in interface IQSYSBatchCommandMonitortrue if cancellation has been requested,
and false otherwiseIQSYSBatchCommandMonitor.setCancelled(boolean)public String getCommandName()
getCommandName in interface IQSYSBatchCommandMonitorpublic void setCommandName(String commandName)
setCommandName in interface IQSYSBatchCommandMonitorpublic void setCancelled(boolean value)
IQSYSBatchCommandMonitor
setCancelled in interface IQSYSBatchCommandMonitorvalue - true indicates that cancelation has
been requested (but not necessarily acknowledged);
false clears this flagIQSYSBatchCommandMonitor.isCancelled()public Vector<Object> getMessages()
getMessages in interface IQSYSBatchCommandMonitorpublic void setMessages(Vector<Object> messages)
setMessages in interface IQSYSBatchCommandMonitorpublic String getJobInfo()
getJobInfo in interface IQSYSBatchCommandMonitorpublic void setJobInfo(String jobInfo)
setJobInfo in interface IQSYSBatchCommandMonitorpublic String getEventFileName()
getEventFileName in interface IQSYSBatchCommandMonitorpublic void setEventFileName(String eventFileName)
setEventFileName in interface IQSYSBatchCommandMonitor
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||