Package hudson.cli.handlers
Class AbstractProjectOptionHandler
- java.lang.Object
-
- org.kohsuke.args4j.spi.OptionHandler<T>
-
- hudson.cli.handlers.GenericItemOptionHandler<AbstractProject>
-
- hudson.cli.handlers.AbstractProjectOptionHandler
-
@MetaInfServices(org.kohsuke.args4j.spi.OptionHandler.class) public class AbstractProjectOptionHandler extends GenericItemOptionHandler<AbstractProject>
Refer toAbstractProject
by its name.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description AbstractProjectOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<AbstractProject> setter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultMetaVariable()
protected Class<AbstractProject>
type()
-
Methods inherited from class hudson.cli.handlers.GenericItemOptionHandler
parseArguments
-
-
-
-
Constructor Detail
-
AbstractProjectOptionHandler
public AbstractProjectOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<AbstractProject> setter)
-
-
Method Detail
-
type
protected Class<AbstractProject> type()
- Specified by:
type
in classGenericItemOptionHandler<AbstractProject>
-
getDefaultMetaVariable
public String getDefaultMetaVariable()
- Overrides:
getDefaultMetaVariable
in classGenericItemOptionHandler<AbstractProject>
-
-