org.jbehave.core.configuration
Class NullAnnotationMonitor

java.lang.Object
  extended by org.jbehave.core.configuration.NullAnnotationMonitor
All Implemented Interfaces:
AnnotationMonitor
Direct Known Subclasses:
PrintStreamAnnotationMonitor

public class NullAnnotationMonitor
extends Object
implements AnnotationMonitor

Null Object Pattern implementation of AnnotationMonitor. Can be extended to override only the methods of interest.


Constructor Summary
NullAnnotationMonitor()
           
 
Method Summary
 void annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
           
 void elementCreationFailed(Class<?> elementClass, Exception cause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullAnnotationMonitor

public NullAnnotationMonitor()
Method Detail

elementCreationFailed

public void elementCreationFailed(Class<?> elementClass,
                                  Exception cause)
Specified by:
elementCreationFailed in interface AnnotationMonitor

annotationNotFound

public void annotationNotFound(Class<? extends Annotation> annotation,
                               Object annotatedInstance)
Specified by:
annotationNotFound in interface AnnotationMonitor


Copyright © 2003-2012. All Rights Reserved.