Class NodeOptionHandler

java.lang.Object
org.kohsuke.args4j.spi.OptionHandler<Node>
hudson.cli.handlers.NodeOptionHandler

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

    Fields inherited from class org.kohsuke.args4j.spi.OptionHandler

    option, owner, setter
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Node> setter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    parseArguments(org.kohsuke.args4j.spi.Parameters params)
     

    Methods inherited from class org.kohsuke.args4j.spi.OptionHandler

    getMetaVariable, getNameAndMeta, getNameAndMeta, print, printDefaultValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NodeOptionHandler

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

    • 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>