|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.logging.progress.AbstractProgress de.lmu.ifi.dbs.elki.logging.progress.FiniteProgress de.lmu.ifi.dbs.elki.logging.progress.StepProgress
public class StepProgress
This progress class is used for multi-step processing.
Field Summary | |
---|---|
(package private) String |
stepTitle
Title of the current step. |
Constructor Summary | |
---|---|
StepProgress(int total)
Constructor. |
|
StepProgress(String task,
int total)
Constructor. |
Method Summary | |
---|---|
StringBuffer |
appendToBuffer(StringBuffer buf)
Append a string representation of the progress to the given string buffer. |
void |
beginStep(int step,
String stepTitle)
Deprecated. |
void |
beginStep(int step,
String stepTitle,
Logging logger)
Do a new step and log it |
protected String |
getStepTitle()
|
void |
setCompleted()
Deprecated. |
void |
setCompleted(Logging logger)
Mark the progress as completed and log it. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.progress.FiniteProgress |
---|
ensureCompleted, getTotal, isComplete, setProcessed |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.progress.AbstractProgress |
---|
getProcessed, getTask, incrementProcessed, incrementProcessed, setProcessed, testLoggingRate, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
String stepTitle
Constructor Detail |
---|
public StepProgress(int total)
total
- Total number of steps.public StepProgress(String task, int total)
task
- Task titletotal
- Total number of steps.Method Detail |
---|
public StringBuffer appendToBuffer(StringBuffer buf)
FiniteProgress
appendToBuffer
in interface Progress
appendToBuffer
in class FiniteProgress
buf
- Buffer to serialize to
@Deprecated public void beginStep(int step, String stepTitle)
step
- Step numberstepTitle
- Step titlepublic void beginStep(int step, String stepTitle, Logging logger)
step
- Step numberstepTitle
- Step titlelogger
- Logger to report to.@Deprecated public void setCompleted()
public void setCompleted(Logging logger)
logger
- Logger to report to.protected String getStepTitle()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |