Package org.jbehave.core.configuration
Class NullAnnotationMonitor
- java.lang.Object
-
- org.jbehave.core.configuration.NullAnnotationMonitor
-
- All Implemented Interfaces:
AnnotationMonitor
public class NullAnnotationMonitor extends Object implements AnnotationMonitor
Null Object Pattern implementation ofAnnotationMonitor
. Can be extended to override only the methods of interest.
-
-
Constructor Summary
Constructors Constructor Description NullAnnotationMonitor()
-
Method Summary
Modifier and Type Method Description void
annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
void
elementCreationFailed(Class<?> elementClass, Exception cause)
-
-
-
Method Detail
-
elementCreationFailed
public void elementCreationFailed(Class<?> elementClass, Exception cause)
- Specified by:
elementCreationFailed
in interfaceAnnotationMonitor
-
annotationNotFound
public void annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
- Specified by:
annotationNotFound
in interfaceAnnotationMonitor
-
-