|
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.Object com.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 IQSYSBatchCommandMonitor
public void setDone(boolean value)
IQSYSBatchCommandMonitor
setDone
in interface IQSYSBatchCommandMonitor
value
- true
indicates that this operation has finished
false
clears this flagIQSYSBatchCommandMonitor.isDone()
public boolean isCancelled()
IQSYSBatchCommandMonitor
isCancelled
in interface IQSYSBatchCommandMonitor
true
if cancellation has been requested,
and false
otherwiseIQSYSBatchCommandMonitor.setCancelled(boolean)
public String getCommandName()
getCommandName
in interface IQSYSBatchCommandMonitor
public void setCommandName(String commandName)
setCommandName
in interface IQSYSBatchCommandMonitor
public void setCancelled(boolean value)
IQSYSBatchCommandMonitor
setCancelled
in interface IQSYSBatchCommandMonitor
value
- true
indicates that cancelation has
been requested (but not necessarily acknowledged);
false
clears this flagIQSYSBatchCommandMonitor.isCancelled()
public Vector<Object> getMessages()
getMessages
in interface IQSYSBatchCommandMonitor
public void setMessages(Vector<Object> messages)
setMessages
in interface IQSYSBatchCommandMonitor
public String getJobInfo()
getJobInfo
in interface IQSYSBatchCommandMonitor
public void setJobInfo(String jobInfo)
setJobInfo
in interface IQSYSBatchCommandMonitor
public String getEventFileName()
getEventFileName
in interface IQSYSBatchCommandMonitor
public 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 |