Package org.jbehave.core.configuration
Class PrintingAnnotationMonitor
- java.lang.Object
-
- org.jbehave.core.configuration.PrintingAnnotationMonitor
-
- All Implemented Interfaces:
AnnotationMonitor
- Direct Known Subclasses:
PrintStreamAnnotationMonitor
public abstract class PrintingAnnotationMonitor extends Object implements AnnotationMonitor
-
-
Constructor Summary
Constructors Constructor Description PrintingAnnotationMonitor()
-
Method Summary
Modifier and Type Method Description voidannotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)voidelementCreationFailed(Class<?> elementClass, Exception cause)protected abstract voidprint(String format, Object... args)protected abstract voidprintStackTrace(Throwable e)
-
-
-
Method Detail
-
elementCreationFailed
public void elementCreationFailed(Class<?> elementClass, Exception cause)
- Specified by:
elementCreationFailedin interfaceAnnotationMonitor
-
annotationNotFound
public void annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
- Specified by:
annotationNotFoundin interfaceAnnotationMonitor
-
printStackTrace
protected abstract void printStackTrace(Throwable e)
-
-