public abstract static class RestrictionTracker.Progress
extends java.lang.Object
RestrictionTracker.HasProgress.getProgress() for details.| Modifier and Type | Field and Description | 
|---|---|
| static RestrictionTracker.Progress | NONEConstant Progress instance to be used when no work has been completed yet. | 
| Constructor and Description | 
|---|
| Progress() | 
| Modifier and Type | Method and Description | 
|---|---|
| static RestrictionTracker.Progress | from(double workCompleted,
    double workRemaining)A representation for the amount of known completed and remaining work. | 
| abstract double | getWorkCompleted()The known amount of completed work. | 
| abstract double | getWorkRemaining()The known amount of work remaining. | 
public static final RestrictionTracker.Progress NONE
public static RestrictionTracker.Progress from(double workCompleted, double workRemaining)
RestrictionTracker.HasProgress.getProgress() for details.workCompleted - Must be >= 0.workRemaining - Must be >= 0.public abstract double getWorkCompleted()
public abstract double getWorkRemaining()