Class VelocityReports
java.lang.Object
org.apache.creadur.whisker.out.velocity.VelocityReports
Wraps velocity engine.
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityReports(ResultWriterFactory writerFactory) Constructs a reporter using Apache Velocity. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidgenerate(Descriptor work, Configuration configuration) Reports on work.final voidgenerateTemplate(Collection<Directory> withBase) Generates template.final voidreport(Collection<Directory> directories) Generates a directory report.final voidvalidate(LicenseAnalyst analyst) Reports on analysis.
-
Constructor Details
-
VelocityReports
Constructs a reporter using Apache Velocity.- Parameters:
writerFactory- 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
-