|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.util.SilentProgressMonitor
public final class SilentProgressMonitor
ProgressMonitor that does not out put any message.
Constructor Summary | |
---|---|
SilentProgressMonitor()
|
Method Summary | |
---|---|
void |
beginTask(int workUnits,
java.lang.String description)
Called when a task begins. |
boolean |
cancel()
Cancels the current task. |
void |
done()
Finished with all the work |
void |
doWork(int workUnits)
Do some work |
void |
endTask()
Called when the current task is finished |
void |
log(Severity severity,
java.lang.String message,
java.lang.Throwable throwable)
Logs an error/warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SilentProgressMonitor()
Method Detail |
---|
public void beginTask(int workUnits, java.lang.String description)
IProgressMonitor
beginTask
in interface IProgressMonitor
public boolean cancel()
IProgressMonitor
cancel
in interface IProgressMonitor
public void doWork(int workUnits)
IProgressMonitor
doWork
in interface IProgressMonitor
workUnits
- the number of units to workpublic void done()
IProgressMonitor
done
in interface IProgressMonitor
public void endTask()
IProgressMonitor
endTask
in interface IProgressMonitor
public void log(Severity severity, java.lang.String message, java.lang.Throwable throwable)
IProgressMonitor
log
in interface IProgressMonitor
severity
- the severitymessage
- the messagethrowable
- an optional Throwable
. Null if N/A
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |