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 toTopLevelItem
by its name.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description TopLevelItemOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<TopLevelItem> setter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultMetaVariable()
protected Class<TopLevelItem>
type()
-
Methods inherited from class hudson.cli.handlers.GenericItemOptionHandler
parseArguments
-
-
-
-
Constructor Detail
-
TopLevelItemOptionHandler
public TopLevelItemOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<TopLevelItem> setter)
-
-
Method Detail
-
type
protected Class<TopLevelItem> type()
- Specified by:
type
in classGenericItemOptionHandler<TopLevelItem>
-
getDefaultMetaVariable
public String getDefaultMetaVariable()
- Overrides:
getDefaultMetaVariable
in classGenericItemOptionHandler<TopLevelItem>
-
-