Class VelocityReports
java.lang.Object
org.apache.creadur.whisker.out.velocity.VelocityReports
Wraps velocity engine.
-
Constructor Summary
ConstructorDescriptionVelocityReports
(ResultWriterFactory writerFactory, org.apache.commons.logging.Log log) Constructs a reporter using Apache Velocity. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
generate
(Descriptor work, Configuration configuration) Reports on work.final void
generateTemplate
(Collection<Directory> withBase) Generates template.final void
report
(Collection<Directory> directories) Generates a directory report.final void
validate
(LicenseAnalyst analyst) Reports on analysis.
-
Constructor Details
-
VelocityReports
Constructs a reporter using Apache Velocity.- Parameters:
writerFactory
- not nulllog
- not null
-
-
Method Details
-
generate
Reports on work.- Parameters:
work
- not nullconfiguration
- not null- Throws:
Exception
- when generation fails
-
report
Generates a directory report.- Parameters:
directories
- not null- Throws:
Exception
- when reporting fails
-
validate
Reports on analysis.- Parameters:
analyst
- not null- Throws:
Exception
- when validation fails
-
generateTemplate
Generates template.- Parameters:
withBase
- not null- Throws:
Exception
- when generation fails
-