Interface ModuleConfiguration

  • All Known Implementing Classes:
    ImmutableModuleConfiguration

    @Immutable
    public interface ModuleConfiguration
    Configuration for a compilation unit.
    Author:
    Kostiantyn Shchepanovskyi
    • Method Detail

      • getName

        String getName()
        Module name.
      • getIncludePaths

        List<Path> getIncludePaths()
        List of "include" folders used to search for proto files.
      • getProtoFiles

        List<String> getProtoFiles()
        List of proto files to compile.
      • getGenerator

        String getGenerator()
        Generator used to compile proto files. Currently following generators are supported:
        • java - produces Java source code that uses protostuff runtime;
        • html - produces HTML documentation;
        • st4 - generic generator, you should provide custom template (StringTemplate 4) using getOptions().
      • getOutput

        String getOutput()
        Output directory.
      • getOptions

        Map<String,​Object> getOptions()
        Map of custom settings passed to the generator.