Class ProtocArgumentFileBuilderBuilder
java.lang.Object
io.github.ascopes.protobufmavenplugin.protoc.ProtocArgumentFileBuilderBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddImportPaths
(Collection<Path> importPaths) addLanguages
(Collection<Language> languages, Path outputPath, boolean lite) addPlugins
(Collection<ResolvedProtocPlugin> plugins, Path outputPath) addSourcePaths
(Collection<Path> sourcePaths) build()
setFatalWarnings
(boolean fatalWarnings) setOutputDescriptorFile
(Path outputDescriptorFile, boolean includeImports, boolean includeSourceInfo, boolean retainOptions)
-
Constructor Details
-
ProtocArgumentFileBuilderBuilder
public ProtocArgumentFileBuilderBuilder()
-
-
Method Details
-
addImportPaths
-
addLanguages
public ProtocArgumentFileBuilderBuilder addLanguages(Collection<Language> languages, Path outputPath, boolean lite) -
addPlugins
public ProtocArgumentFileBuilderBuilder addPlugins(Collection<ResolvedProtocPlugin> plugins, Path outputPath) -
addSourcePaths
-
setFatalWarnings
-
setOutputDescriptorFile
public ProtocArgumentFileBuilderBuilder setOutputDescriptorFile(Path outputDescriptorFile, boolean includeImports, boolean includeSourceInfo, boolean retainOptions) -
build
-