jdave.runner
Class Behavior

java.lang.Object
  extended by jdave.runner.Behavior
Direct Known Subclasses:
ExecutingBehavior

public abstract class Behavior
extends java.lang.Object

Author:
Joni Freeman, Pekka Enberg

Field Summary
protected  java.lang.reflect.Method method
           
 
Constructor Summary
Behavior(java.lang.Class<?> contextType, java.lang.reflect.Method method)
           
 
Method Summary
 java.lang.Class<?> getContextType()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.String getName()
           
abstract  void run(IBehaviorResults results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected final java.lang.reflect.Method method
Constructor Detail

Behavior

public Behavior(java.lang.Class<?> contextType,
                java.lang.reflect.Method method)
Method Detail

getName

public java.lang.String getName()

getMethod

public java.lang.reflect.Method getMethod()

getContextType

public java.lang.Class<?> getContextType()

run

public abstract void run(IBehaviorResults results)


Copyright © 2008. All Rights Reserved.