类 GeneratorConfig
java.lang.Object
net.gdface.cli.Context
net.gdface.cli.AbstractConfiguration
net.gdface.cli.BaseAppConfig
gu.sql2java.generator.GeneratorConfig
- 所有已实现的接口:
GeneratorConstants,net.gdface.cli.CmdConfig,net.gdface.cli.CommonCliConstants
终端命令行配置参数
- 作者:
- guyadong
-
嵌套类概要
从类继承的嵌套类/接口 net.gdface.cli.Context
net.gdface.cli.Context.Builder -
字段概要
从类继承的字段 net.gdface.cli.BaseAppConfig
defaultValue, options从类继承的字段 net.gdface.cli.AbstractConfiguration
CONTROL_OPTIONS, withTrace从接口继承的字段 net.gdface.cli.CommonCliConstants
DEFINE_OPTION, DEFINE_OPTION_DESC, HELP_OPTION, HELP_OPTION_DESC, HELP_OPTION_LONG, TRACE_OPTION, TRACE_OPTION_DESC, TRACE_OPTION_LONG从接口继承的字段 gu.sql2java.generator.GeneratorConstants
CLASSPATH_OPTION, CLASSPATH_OPTION_DESC, CLASSPATH_OPTION_LONG, PROPFILE_OPTION, PROPFILE_OPTION_DESC, PROPFILE_OPTION_LONG -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected String根据classPath参数创建自定义URLClassLoader对象protected StringvoidloadConfig(org.apache.commons.cli.Options options, org.apache.commons.cli.CommandLine cmd) 从类继承的方法 net.gdface.cli.BaseAppConfig
doAfterParse, doGetConstants, getCmdLineSyntax, getConstant, getDefaultValueMap, getFooter, getOptions, isTrace, parseCommandLine, self从类继承的方法 net.gdface.cli.AbstractConfiguration
valueOf从类继承的方法 net.gdface.cli.Context
builder, getContext, getInt, getLong, getProperty, hasProperty, setProperties, setProperty
-
构造器详细资料
-
GeneratorConfig
public GeneratorConfig()
-
-
方法详细资料
-
loadConfig
public void loadConfig(org.apache.commons.cli.Options options, org.apache.commons.cli.CommandLine cmd) throws org.apache.commons.cli.ParseException - 指定者:
loadConfig在接口中net.gdface.cli.CmdConfig- 覆盖:
loadConfig在类中net.gdface.cli.AbstractConfiguration- 抛出:
org.apache.commons.cli.ParseException
-
getAppName
- 覆盖:
getAppName在类中net.gdface.cli.BaseAppConfig
-
getHeader
- 覆盖:
getHeader在类中net.gdface.cli.BaseAppConfig
-
getPropFile
- 返回:
- propfile
-
getClassloader
根据classPath参数创建自定义URLClassLoader对象- 返回:
URLClassLoader对象,classPath为空则返回null
-