org.opennms.web.svclayer
Class ProgressMonitor

java.lang.Object
  extended by org.opennms.web.svclayer.ProgressMonitor

public class ProgressMonitor
extends Object

ProgressMonitor class.

Since:
1.8.1
Version:
$Id: $
Author:
Mathew Brozowski, DJ Gregor, Mathew Brozowski, DJ Gregor

Constructor Summary
ProgressMonitor()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressMonitor

public ProgressMonitor()
Method Detail

getPhaseCount

public int getPhaseCount()

getPhaseCount

Returns:
a int.

setPhaseCount

public void setPhaseCount(int phaseCount)

setPhaseCount

Parameters:
phaseCount - a int.

getPhaseLabel

public String getPhaseLabel()

getPhaseLabel

Returns:
a String object.

getPhase

public int getPhase()

getPhase

Returns:
a int.

beginNextPhase

public void beginNextPhase(String phaseLabel)

beginNextPhase

Parameters:
phaseLabel - a String object.

finished

public void finished(Object result)

finished

Parameters:
result - a Object object.

isFinished

public boolean isFinished()

isFinished

Returns:
a boolean.

getResult

public Object getResult()

getResult

Returns:
a Object object.

isError

public boolean isError()

isError

Returns:
a boolean.

getThrowable

public Throwable getThrowable()

getThrowable

Returns:
a Throwable object.

errorOccurred

public void errorOccurred(Throwable t)

errorOccurred

Parameters:
t - a Throwable object.


Copyright © 2011. All Rights Reserved.