Interface GeneratorFactory


public interface GeneratorFactory
The GeneratorFactory is a service which creates Generators on demand. The created generators are the starting point for the rewriter pipeline. The factories itself are not chained but the resulting generators are. On each pipeline call new instances are created. The factory is referenced using a service property named 'pipeline.type'. Each factory should have a unique value for this property.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new generator for the pipeline.
  • Method Details

    • createGenerator

      Generator createGenerator()
      Create a new generator for the pipeline.
      Returns:
      A new generator.