
public class MutableProgress extends AbstractProgress
| Modifier and Type | Field and Description | 
|---|---|
| private int | totalThe overall number of items to process. | 
| Constructor and Description | 
|---|
| MutableProgress(String task,
               int total,
               Logging logger)Constructor with logging. | 
| Modifier and Type | Method and Description | 
|---|---|
| StringBuilder | appendToBuffer(StringBuilder buf)Serialize 'indefinite' progress. | 
| int | getTotal()Get the current value of total. | 
| boolean | isComplete()Return whether the progress is complete | 
| void | setTotal(int total)Modify the total value. | 
getProcessed, getTask, incrementProcessed, incrementProcessed, setProcessed, setProcessed, testLoggingRate, toStringpublic StringBuilder appendToBuffer(StringBuilder buf)
appendToBuffer in interface ProgressappendToBuffer in class AbstractProgressbuf - Buffer to serialize topublic boolean isComplete()
public void setTotal(int total)
              throws IllegalArgumentException
total - IllegalArgumentExceptionpublic int getTotal()