public class IndefiniteProgress extends AbstractProgress
Modifier and Type | Field and Description |
---|---|
private boolean |
completed
Store completion flag.
|
Constructor and Description |
---|
IndefiniteProgress(String task)
Deprecated.
|
IndefiniteProgress(String task,
Logging logger)
Constructor with logging.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
appendToBuffer(StringBuffer buf)
Serialize 'indefinite' progress.
|
boolean |
isComplete()
Return whether the progress is complete
|
void |
setCompleted()
Deprecated.
|
void |
setCompleted(Logging logger)
Set the completion flag and log it
|
getProcessed, getTask, incrementProcessed, incrementProcessed, setProcessed, setProcessed, testLoggingRate, toString
@Deprecated public IndefiniteProgress(String task)
task
- Task name.public StringBuffer appendToBuffer(StringBuffer buf)
appendToBuffer
in interface Progress
appendToBuffer
in class AbstractProgress
buf
- Buffer to serialize topublic boolean isComplete()
@Deprecated public void setCompleted()
public void setCompleted(Logging logger)
logger
- Logger to report to.