类 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

public class GeneratorConfig extends net.gdface.cli.BaseAppConfig implements GeneratorConstants
终端命令行配置参数
作者:
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
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected String
     
    根据classPath参数创建自定义URLClassLoader对象
    protected String
     
     
    void
    loadConfig(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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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

      protected String getAppName()
      覆盖:
      getAppName 在类中 net.gdface.cli.BaseAppConfig
    • getHeader

      protected String getHeader()
      覆盖:
      getHeader 在类中 net.gdface.cli.BaseAppConfig
    • getPropFile

      public File getPropFile()
      返回:
      propfile
    • getClassloader

      public ClassLoader getClassloader()
      根据classPath参数创建自定义URLClassLoader对象
      返回:
      URLClassLoader对象,classPath为空则返回null