AbstractSpringConfigurablePluginpublic abstract class AbstractParameterizablePlugin extends AbstractPlugin
This plugin looks for the arguments of the form
-myPlugin-name=value
(myPlugin is the plugin option name) and
then invokes setName(value) on itself.
For instance, the argument -Xfoo-bar=test triggers
setBar("test") invocation.
Values are injected using Commons BeanUtils as bean properties, so types will be converted correspondingly
logger| Constructor | Description |
|---|---|
AbstractParameterizablePlugin() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
parseArgument(com.sun.tools.xjc.Options opt,
java.lang.String[] args,
int start) |
Parses the arguments and injects values into the beans via properties.
|
afterRun, beforeRun, getCustomizationElementNames, getCustomizationURIs, init, isCustomizationTagName, onActivated, run, runpublic int parseArgument(com.sun.tools.xjc.Options opt,
java.lang.String[] args,
int start)
throws com.sun.tools.xjc.BadCommandLineException,
java.io.IOException
parseArgument in class com.sun.tools.xjc.Plugincom.sun.tools.xjc.BadCommandLineExceptionjava.io.IOExceptionCopyright © 2005–2018. All rights reserved.