Package io.protostuff.compiler.model
Interface ModuleConfiguration
-
- All Known Implementing Classes:
ImmutableModuleConfiguration
@Immutable public interface ModuleConfigurationConfiguration for a compilation unit.- Author:
- Kostiantyn Shchepanovskyi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetGenerator()Generator used to compile proto files.List<Path>getIncludePaths()List of "include" folders used to search for proto files.StringgetName()Module name.Map<String,Object>getOptions()Map of custom settings passed to the generator.StringgetOutput()Output directory.List<String>getProtoFiles()List of proto files to compile.
-
-
-
Method Detail
-
getName
String getName()
Module name.
-
getIncludePaths
List<Path> getIncludePaths()
List of "include" folders used to search for proto files.
-
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.
-
-