static class GenerateProtoTask.PluginOptions
The container of command-line options for a protoc plugin or a built-in output.
| Constructor and description |
|---|
GenerateProtoTask.PluginOptions
(java.lang.String name) |
| Type | Name and description |
|---|---|
java.lang.String |
getName()Returns the name of the plugin or builtin. |
java.util.List<java.lang.String> |
getOptions() |
java.lang.String |
getOutputSubDir()Returns the relative outputDir for this plugin. |
PluginOptions |
option(java.lang.String option)Adds a plugin option. |
java.lang.Object |
setOutputSubDir(java.lang.String outputSubDir)Set the output directory for this plugin, relative to GenerateProtoTask.outputBaseDir. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns the name of the plugin or builtin.
Returns the relative outputDir for this plugin. If outputDir is not specified, name is used.
Adds a plugin option.
Set the output directory for this plugin, relative to GenerateProtoTask.outputBaseDir.