|
||||||||||
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 |
abort()
Aborts a failed or interrupted progress. |
void |
checkStop()
Checks if the progress was interrupted; if yes, sends a runtime exception. |
String |
det()
Returns short information on this process. |
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. |
String |
tit()
Returns short information on this process. |
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 String title()
public String tit()
public final String detail()
public String det()
public final double progress()
public double prog()
public final void progress(Progress prog)
prog
- progresspublic final void stop()
public void checkStop()
public void abort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |