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 void
annotationNotFound(Class<? extends Annotation> annotation, Object annotatedInstance)
void
elementCreationFailed(Class<?> elementClass, Exception cause)
protected abstract void
print(String format, Object... args)
protected abstract void
printStackTrace(Throwable e)
-
-
-
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
-
printStackTrace
protected abstract void printStackTrace(Throwable e)
-
-