Class CredentialsStoreOptionHandler
java.lang.Object
org.kohsuke.args4j.spi.OptionHandler<CredentialsStore>
com.cloudbees.plugins.credentials.cli.CredentialsStoreOptionHandler
@MetaInfServices(org.kohsuke.args4j.spi.OptionHandler.class)
public class CredentialsStoreOptionHandler
extends org.kohsuke.args4j.spi.OptionHandler<CredentialsStore>
An
OptionHandler
for resolving CredentialsStore
instances.- Since:
- 2.1.1
-
Field Summary
Fields inherited from class org.kohsuke.args4j.spi.OptionHandler
option, owner, setter
-
Constructor Summary
ConstructorDescriptionCredentialsStoreOptionHandler
(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super CredentialsStore> setter) -
Method Summary
Methods inherited from class org.kohsuke.args4j.spi.OptionHandler
getMetaVariable, getNameAndMeta, getNameAndMeta, print, printDefaultValue
-
Constructor Details
-
CredentialsStoreOptionHandler
public CredentialsStoreOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super CredentialsStore> 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<CredentialsStore>
- Throws:
org.kohsuke.args4j.CmdLineException
-
getDefaultMetaVariable
- Specified by:
getDefaultMetaVariable
in classorg.kohsuke.args4j.spi.OptionHandler<CredentialsStore>
-