org.jdiagnose.remote.template
Class DiagnosticTemplate

java.lang.Object
  extended byorg.jdiagnose.remote.template.DiagnosticTemplate

public class DiagnosticTemplate
extends java.lang.Object

Author:
jamie

Constructor Summary
DiagnosticTemplate()
           
DiagnosticTemplate(Agent remoteResultFactory, RemoteResultListener listener)
           
DiagnosticTemplate(Agent remoteResultFactory, RemoteResultListener listener, boolean filterSuccesses)
           
 
Method Summary
 java.lang.Object execute(java.lang.String name, DiagnosticCallback callback)
           
 void setAgent(Agent agent)
           
 void setExceptionMatcher(ExceptionMatcher exceptionMatcher)
           
 void setFilterSuccesses(boolean filterSuccesses)
           
 void setListener(RemoteResultListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiagnosticTemplate

public DiagnosticTemplate()

DiagnosticTemplate

public DiagnosticTemplate(Agent remoteResultFactory,
                          RemoteResultListener listener)

DiagnosticTemplate

public DiagnosticTemplate(Agent remoteResultFactory,
                          RemoteResultListener listener,
                          boolean filterSuccesses)
Method Detail

execute

public java.lang.Object execute(java.lang.String name,
                                DiagnosticCallback callback)
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

setExceptionMatcher

public void setExceptionMatcher(ExceptionMatcher exceptionMatcher)
Parameters:
exceptionMatcher - The exceptionMatcher to set.

setAgent

public void setAgent(Agent agent)
Parameters:
agent - The agent to set.

setFilterSuccesses

public void setFilterSuccesses(boolean filterSuccesses)
Parameters:
filterSuccesses - The filterSuccesses to set.

setListener

public void setListener(RemoteResultListener listener)
Parameters:
listener - The listener to set.


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