de.lmu.ifi.dbs.elki.logging.progress
Class IndefiniteProgress
java.lang.Object
de.lmu.ifi.dbs.elki.logging.progress.AbstractProgress
de.lmu.ifi.dbs.elki.logging.progress.IndefiniteProgress
- All Implemented Interfaces:
- Progress
public class IndefiniteProgress
- extends AbstractProgress
Progress class without a fixed destination value.
- Author:
- Erich Schubert
Field Summary |
private boolean |
completed
Store completion flag. |
completed
private boolean completed
- Store completion flag.
IndefiniteProgress
public IndefiniteProgress(String task)
- Constructor.
- Parameters:
task
- Task name.
appendToBuffer
public StringBuffer appendToBuffer(StringBuffer buf)
- Serialize 'indefinite' progress.
- Specified by:
appendToBuffer
in interface Progress
- Specified by:
appendToBuffer
in class AbstractProgress
- Parameters:
buf
- Buffer to serialize to
- Returns:
- Buffer the data was serialized to.
isComplete
public boolean isComplete()
- Return whether the progress is complete
- Returns:
- Completion status.
setCompleted
public void setCompleted()
- Set the completion flag.