br.com.oncast.dev.lobo.eval
Interface ExecutionProfiler.ExecutionListener

Enclosing class:
ExecutionProfiler

public static interface ExecutionProfiler.ExecutionListener

ExecutionListener for execution profiler.


Method Summary
 void caseScenarios(java.lang.Class<?> caze, java.util.List<java.lang.reflect.Method> methods)
          Notifies the scenarios available in the given case as it is analised.
 void runningScenario(java.lang.Class<?> clazz, java.lang.reflect.Method method)
          Notifies the listener that a scenario was started.
 void runningScenarioError(java.lang.Throwable t)
          Notifies that the running scenario terminated because of an error.
 

Method Detail

runningScenario

void runningScenario(java.lang.Class<?> clazz,
                     java.lang.reflect.Method method)
Notifies the listener that a scenario was started.

Parameters:
clazz - the profile case.
method - the profile scenario within the case.

runningScenarioError

void runningScenarioError(java.lang.Throwable t)
Notifies that the running scenario terminated because of an error.

Parameters:
t - the error that terminated the scenario.

caseScenarios

void caseScenarios(java.lang.Class<?> caze,
                   java.util.List<java.lang.reflect.Method> methods)
Notifies the scenarios available in the given case as it is analised.

Parameters:
caze - the case class.
methods - the scenarios available.