public class Progress extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Progress.ProgressState |
| Constructor and Description |
|---|
Progress() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertNoErrors() |
long |
elapsedTime() |
int |
getCurrent() |
int |
getMax() |
Throwable |
getReason() |
Progress.ProgressState |
getState() |
boolean |
isFinished() |
void |
setCurrent(int current) |
void |
setError(Throwable reason) |
void |
setFinished()
Work complete.
|
void |
setMax(int max) |
void |
setSuccessfullyCompleted()
Work has been successfully completed.
|
public void setError(Throwable reason)
public void setFinished()
public void setSuccessfullyCompleted()
public long elapsedTime()
public Throwable getReason()
public Progress.ProgressState getState()
public boolean isFinished()
public int getMax()
public void setMax(int max)
public int getCurrent()
public void setCurrent(int current)
Copyright © 2004-2015. All Rights Reserved.