|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Progress
public abstract class Progress
This class is implemented by all kinds of processes.
It gives feedback on the current process. Moreover, it allows to
interrupt the process by calling the stop()
method.
Constructor Summary | |
---|---|
Progress()
|
Method Summary | |
---|---|
void |
checkStop()
Checks if the progress was interrupted; if yes, sends a runtime exception. |
java.lang.String |
det()
Returns short information on this process. |
java.lang.String |
detail()
Returns detailed information on the current process or sub process. |
double |
prog()
Returns progress information. |
double |
progress()
Returns a progress value (0 - 1). |
void |
progress(Progress prog)
Sets a new sub progress. |
void |
stop()
Stops a process or sub process. |
java.lang.String |
title()
Returns short information on the current process or sub process. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Progress()
Method Detail |
---|
public final java.lang.String title()
public final java.lang.String detail()
public java.lang.String det()
public final double progress()
public double prog()
public final void progress(Progress prog)
prog
- progresspublic final void stop()
public final void checkStop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |