|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.services.NullActionMonitor
public class NullActionMonitor
Field Summary |
---|
Fields inherited from interface com.rational.test.ft.services.IActionMonitor |
---|
ACTION_DETAIL, HIGH, HIGHLEVEL_DETAIL, LOW, MEDIUM, NO_DETAIL, VERBOSE_DETAIL |
Constructor Summary | |
---|---|
NullActionMonitor()
|
Method Summary | |
---|---|
void |
action(java.lang.String sMessage)
Post an action message to the monitor. |
void |
beginTask(java.lang.String name,
int totalWork)
Notifies that the main task is beginning. |
void |
checkCancel()
|
void |
done()
Notifies that the work is done; that is, either the main task is completed or the user canceled it. |
int |
getDetailLevel()
Suppling the detail level to the interface consumer is an optimization that allows the consumer to avoid generating potentially expensive messages that will not be utilized. |
void |
highLevel(java.lang.String sMessage)
Post a high level message to the monitor. |
boolean |
isCanceled()
Returns whether cancelation of current operation has been requested. |
void |
setItemCount(int count,
int level)
|
void |
subTask(java.lang.String name)
Notifies that a subtask of the main task is beginning. |
void |
verbose(java.lang.String sMessage)
Post a verbose message to the monitor. |
void |
worked(int work)
Notifies that a given number of work unit of the main task has been completed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullActionMonitor()
Method Detail |
---|
public void checkCancel()
checkCancel
in interface IActionMonitor
public void verbose(java.lang.String sMessage)
IActionMonitor
verbose
in interface IActionMonitor
sMessage
- The verbose message to display.public void highLevel(java.lang.String sMessage)
IActionMonitor
highLevel
in interface IActionMonitor
sMessage
- The high level message to display.public void action(java.lang.String sMessage)
IActionMonitor
action
in interface IActionMonitor
sMessage
- The action message to display.public int getDetailLevel()
IActionMonitor
getDetailLevel
in interface IActionMonitor
NO_DETAIL
,
ACTION_DETAIL
,
HIGHLEVEL_DETAIL
,
VERBOSE_DETAIL
public void beginTask(java.lang.String name, int totalWork)
IActionMonitor
beginTask
in interface IActionMonitor
name
- the name (or description) of the main tasktotalWork
- the total number of work units into which
the main task is been subdivided. If the value is UNKNOWN
the implemenation is free to indicate progress in a way which
doesn't require the total number of work units in advance.public void done()
IActionMonitor
done
in interface IActionMonitor
public boolean isCanceled()
IActionMonitor
isCanceled
in interface IActionMonitor
true
if cancellation has been requested,
and false
otherwise#setCanceled
public void subTask(java.lang.String name)
IActionMonitor
subTask
in interface IActionMonitor
name
- the name (or description) of the subtaskpublic void worked(int work)
IActionMonitor
worked
in interface IActionMonitor
work
- the number of work units just completedpublic void setItemCount(int count, int level)
setItemCount
in interface IActionMonitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |