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
  • 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 class org.kohsuke.args4j.spi.OptionHandler<CredentialsStore>
      Throws:
      org.kohsuke.args4j.CmdLineException
    • getDefaultMetaVariable

      public String getDefaultMetaVariable()
      Specified by:
      getDefaultMetaVariable in class org.kohsuke.args4j.spi.OptionHandler<CredentialsStore>