Package hudson.cli.handlers
Class TopLevelItemOptionHandler
java.lang.Object
org.kohsuke.args4j.spi.OptionHandler<T>
hudson.cli.handlers.GenericItemOptionHandler<TopLevelItem>
hudson.cli.handlers.TopLevelItemOptionHandler
@MetaInfServices(org.kohsuke.args4j.spi.OptionHandler.class)
public class TopLevelItemOptionHandler
extends GenericItemOptionHandler<TopLevelItem>
Refers to
TopLevelItem
by its name.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.args4j.spi.OptionHandler
option, owner, setter
-
Constructor Summary
ConstructorDescriptionTopLevelItemOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<TopLevelItem> setter) -
Method Summary
Methods inherited from class hudson.cli.handlers.GenericItemOptionHandler
parseArguments
Methods inherited from class org.kohsuke.args4j.spi.OptionHandler
getMetaVariable, getNameAndMeta, getNameAndMeta, print, printDefaultValue
-
Constructor Details
-
TopLevelItemOptionHandler
public TopLevelItemOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<TopLevelItem> setter)
-
-
Method Details
-
type
- Specified by:
type
in classGenericItemOptionHandler<TopLevelItem>
-
getDefaultMetaVariable
- Overrides:
getDefaultMetaVariable
in classGenericItemOptionHandler<TopLevelItem>
-