org.opennms.web.svclayer
Class ProgressMonitor

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

public class ProgressMonitor
extends Object

Author:
Mathew Brozowski, DJ Gregor

Constructor Summary
ProgressMonitor()
           
 
Method Summary
 void beginNextPhase(String phaseLabel)
           
 void errorOccurred(Throwable t)
           
 void finished(Object result)
           
 int getPhase()
           
 int getPhaseCount()
           
 String getPhaseLabel()
           
 Object getResult()
           
 Throwable getThrowable()
           
 boolean isError()
           
 boolean isFinished()
           
 void setPhaseCount(int phaseCount)
           
 
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()

setPhaseCount

public void setPhaseCount(int phaseCount)

getPhaseLabel

public String getPhaseLabel()

getPhase

public int getPhase()

beginNextPhase

public void beginNextPhase(String phaseLabel)

finished

public void finished(Object result)

isFinished

public boolean isFinished()

getResult

public Object getResult()

isError

public boolean isError()

getThrowable

public Throwable getThrowable()

errorOccurred

public void errorOccurred(Throwable t)


Copyright © 2009. All Rights Reserved.