jdave.runner
Class Context

java.lang.Object
  extended by jdave.runner.Context

public abstract class Context
extends java.lang.Object

Author:
Joni Freeman, Pekka Enberg

Constructor Summary
Context(java.lang.Class<? extends Specification<?>> specType, java.lang.Class<?> contextType)
           
 
Method Summary
 java.lang.String getName()
           
 boolean isContextClass()
           
protected abstract  Behavior newBehavior(java.lang.reflect.Method method, java.lang.Class<? extends Specification<?>> specType, java.lang.Class<?> contextType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(java.lang.Class<? extends Specification<?>> specType,
               java.lang.Class<?> contextType)
Method Detail

getName

public java.lang.String getName()

newBehavior

protected abstract Behavior newBehavior(java.lang.reflect.Method method,
                                        java.lang.Class<? extends Specification<?>> specType,
                                        java.lang.Class<?> contextType)

isContextClass

public boolean isContextClass()


Copyright © 2008. All Rights Reserved.