Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.logging.progress
Class IndefiniteProgress

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.progress.AbstractProgress
      extended by 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.
 
Constructor Summary
IndefiniteProgress(String task)
          Constructor.
 
Method Summary
 StringBuffer appendToBuffer(StringBuffer buf)
          Serialize 'indefinite' progress.
 boolean isComplete()
          Return whether the progress is complete
 void setCompleted()
          Set the completion flag.
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.progress.AbstractProgress
getProcessed, getTask, setProcessed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

completed

private boolean completed
Store completion flag.

Constructor Detail

IndefiniteProgress

public IndefiniteProgress(String task)
Constructor.

Parameters:
task - Task name.
Method Detail

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.


Release 0.3 (2010-03-31_1612)