Package org.opennms.web.svclayer.model
Class ProgressMonitor
- java.lang.Object
-
- org.opennms.web.svclayer.model.ProgressMonitor
-
public class ProgressMonitor extends Object
ProgressMonitor class.
- Author:
- Mathew Brozowski, DJ Gregor
-
-
Constructor Summary
Constructors Constructor Description ProgressMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginNextPhase(String phaseLabel)
beginNextPhasevoid
errorOccurred(Throwable t)
errorOccurredvoid
finished(Object result)
finishedint
getPhase()
getPhaseint
getPhaseCount()
getPhaseCountString
getPhaseLabel()
getPhaseLabelObject
getResult()
getResultThrowable
getThrowable()
getThrowableboolean
isError()
isErrorboolean
isFinished()
isFinishedvoid
setPhaseCount(int phaseCount)
setPhaseCount
-
-
-
Method Detail
-
getPhaseCount
public int getPhaseCount()
getPhaseCount
- Returns:
- a int.
-
setPhaseCount
public void setPhaseCount(int phaseCount)
setPhaseCount
- Parameters:
phaseCount
- a int.
-
getPhase
public int getPhase()
getPhase
- Returns:
- a int.
-
beginNextPhase
public void beginNextPhase(String phaseLabel)
beginNextPhase
- Parameters:
phaseLabel
- aString
object.
-
isFinished
public boolean isFinished()
isFinished
- Returns:
- a boolean.
-
isError
public boolean isError()
isError
- Returns:
- a boolean.
-
-