public class ProgressMonitor extends Object
ProgressMonitor class.
| Constructor and Description | 
|---|
ProgressMonitor()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
beginNextPhase(String phaseLabel)
beginNextPhase 
 | 
void | 
errorOccurred(Throwable t)
errorOccurred 
 | 
void | 
finished(Object result)
finished 
 | 
int | 
getPhase()
getPhase 
 | 
int | 
getPhaseCount()
getPhaseCount 
 | 
String | 
getPhaseLabel()
getPhaseLabel 
 | 
Object | 
getResult()
getResult 
 | 
Throwable | 
getThrowable()
getThrowable 
 | 
boolean | 
isError()
isError 
 | 
boolean | 
isFinished()
isFinished 
 | 
void | 
setPhaseCount(int phaseCount)
setPhaseCount 
 | 
public int getPhaseCount()
getPhaseCount
public void setPhaseCount(int phaseCount)
setPhaseCount
phaseCount - a int.public int getPhase()
getPhase
public void beginNextPhase(String phaseLabel)
beginNextPhase
phaseLabel - a String object.public boolean isFinished()
isFinished
public boolean isError()
isError
Copyright © 2020. All rights reserved.