Class NodeOptionHandler


  • @MetaInfServices
    public class NodeOptionHandler
    extends org.kohsuke.args4j.spi.OptionHandler<Node>
    Refers to Node by its name.
    Since:
    1.526
    Author:
    ogondza
    • Constructor Detail

      • NodeOptionHandler

        public NodeOptionHandler​(org.kohsuke.args4j.CmdLineParser parser,
                                 org.kohsuke.args4j.OptionDef option,
                                 org.kohsuke.args4j.spi.Setter<Node> setter)
    • Method Detail

      • 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<Node>
        Throws:
        org.kohsuke.args4j.CmdLineException
      • getDefaultMetaVariable

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