Package hudson.cli.handlers
Class JobOptionHandler
java.lang.Object
org.kohsuke.args4j.spi.OptionHandler<T>
@MetaInfServices(org.kohsuke.args4j.spi.OptionHandler.class)
public class JobOptionHandler
extends GenericItemOptionHandler<Job>
Refer to
Job
by its name.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.args4j.spi.OptionHandler
option, owner, setter
-
Constructor Summary
ConstructorDescriptionJobOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Job> 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
-
JobOptionHandler
public JobOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<Job> setter)
-
-
Method Details
-
type
- Specified by:
type
in classGenericItemOptionHandler<Job>
-
getDefaultMetaVariable
- Overrides:
getDefaultMetaVariable
in classGenericItemOptionHandler<Job>
-