Package hudson.cli.handlers
Class NodeOptionHandler
java.lang.Object
org.kohsuke.args4j.spi.OptionHandler<Node>
hudson.cli.handlers.NodeOptionHandler
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
ConstructorDescriptionNodeOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Node> setter) -
Method Summary
Methods inherited from class org.kohsuke.args4j.spi.OptionHandler
getMetaVariable, getNameAndMeta, getNameAndMeta, print, printDefaultValue
-
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 classorg.kohsuke.args4j.spi.OptionHandler<Node>
- Throws:
org.kohsuke.args4j.CmdLineException
-
getDefaultMetaVariable
- Specified by:
getDefaultMetaVariable
in classorg.kohsuke.args4j.spi.OptionHandler<Node>
-