Class GenericItemOptionHandler<T extends Item>

    • Constructor Detail

      • GenericItemOptionHandler

        protected GenericItemOptionHandler​(org.kohsuke.args4j.CmdLineParser parser,
                                           org.kohsuke.args4j.OptionDef option,
                                           org.kohsuke.args4j.spi.Setter<T> setter)
    • Method Detail

      • type

        protected abstract Class<T> type()
      • parseArguments

        public int parseArguments​(org.kohsuke.args4j.spi.Parameters params)
                           throws org.kohsuke.args4j.CmdLineException
        Specified by:
        parseArguments in class org.kohsuke.args4j.spi.OptionHandler<T extends Item>
        Throws:
        org.kohsuke.args4j.CmdLineException
      • getDefaultMetaVariable

        public String getDefaultMetaVariable()
        Specified by:
        getDefaultMetaVariable in class org.kohsuke.args4j.spi.OptionHandler<T extends Item>