public class DurationFunctionExplorerProgress extends Object
ITrackCalculationProgress.reportProgress(int, java.lang.Object) by
DurationFunctionExplorer.explore(Duration,Duration,ITrackCalculationProgress).| Constructor and Description |
|---|
DurationFunctionExplorerProgress(DurationFunctionExplorer explorer,
Duration start,
Duration stop,
Duration complete,
int percentComplete)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
getComplete()
Gets the portion of the interval that has already been explored.
|
DurationFunctionExplorer |
getExplorer()
Gets the explorer instance that is reporting progress.
|
int |
getPercentComplete()
Gets the percentage of the interval that has already been explored.
|
Duration |
getStart()
Gets the beginning of the interval being explored.
|
Duration |
getStop()
Gets the end of the interval being explored.
|
public DurationFunctionExplorerProgress(DurationFunctionExplorer explorer, @Nonnull Duration start, @Nonnull Duration stop, @Nonnull Duration complete, int percentComplete)
explorer - The explorer instance that is reporting progress.start - The beginning of the interval being explored.stop - The end of the interval being explored.complete - The portion of the interval that has already been evaluated.percentComplete - The percentage of the interval that has already been completed.public final DurationFunctionExplorer getExplorer()
@Nonnull public final Duration getStart()
@Nonnull public final Duration getComplete()
public final int getPercentComplete()