org.jdiagnose.runtime
Interface DiagnosticRunner

All Known Implementing Classes:
DefaultDiagnosticRunner

public interface DiagnosticRunner

Author:
jmccrindle

Method Summary
 void addResultListener(ResultListener resultListener)
           
 void addRunListener(RunListener runListener)
           
 DiagnosticContainerResult getContainerResult()
           
 boolean isRunning()
           
 void removeResultListener(ResultListener resultListener)
           
 void removeRunListener(RunListener runListener)
           
 DiagnosticContainerResult run()
           
 DiagnosticContainerResult runAsynchronously()
           
 void setResultListeners(java.util.List resultListeners)
           
 void setRunListeners(java.util.List runListeners)
           
 

Method Detail

run

public DiagnosticContainerResult run()

runAsynchronously

public DiagnosticContainerResult runAsynchronously()
                                            throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

getContainerResult

public DiagnosticContainerResult getContainerResult()

isRunning

public boolean isRunning()

setRunListeners

public void setRunListeners(java.util.List runListeners)

setResultListeners

public void setResultListeners(java.util.List resultListeners)

addRunListener

public void addRunListener(RunListener runListener)

removeRunListener

public void removeRunListener(RunListener runListener)

addResultListener

public void addResultListener(ResultListener resultListener)

removeResultListener

public void removeResultListener(ResultListener resultListener)


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.