Class AggregationDocumenter
- java.lang.Object
-
- org.rodnansol.core.generator.writer.AggregationDocumenter
-
public class AggregationDocumenter extends Object
Class aggregates the incoming inputs into one big output file.- Since:
- 0.1.0
- Author:
- nandorholozsnyak
-
-
Constructor Summary
Constructors Constructor Description AggregationDocumenter(MetadataReader metadataReader, TemplateCompiler templateCompiler, MetadataInputResolverContext metadataInputResolverContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDocumentsAndAggregate(CreateAggregationCommand createAggregationCommand)Aggregates the incoming inputs into one big file and writes it to the disk.
-
-
-
Constructor Detail
-
AggregationDocumenter
public AggregationDocumenter(MetadataReader metadataReader, TemplateCompiler templateCompiler, MetadataInputResolverContext metadataInputResolverContext)
-
-
Method Detail
-
createDocumentsAndAggregate
public void createDocumentsAndAggregate(CreateAggregationCommand createAggregationCommand)
Aggregates the incoming inputs into one big file and writes it to the disk.- Parameters:
createAggregationCommand- command contains necessary information for the aggregation.- Throws:
DocumentGenerationException- if the output can not be written to disk or during the template compilation any error occurs.
-
-