Class OpenstackCredentialv2

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
jenkins.plugins.openstack.compute.auth.AbstractOpenstackCredential
jenkins.plugins.openstack.compute.auth.OpenstackCredentialv2
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.PasswordCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials, com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable, OpenstackCredential

@NameWith(NameProvider.class) public class OpenstackCredentialv2 extends AbstractOpenstackCredential implements com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials, com.cloudbees.plugins.credentials.common.PasswordCredentials
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    static class 
     

    Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpenstackCredentialv2(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String tenant, String username, Secret password)
     
    OpenstackCredentialv2(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description, String tenant, String username, String password)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openstack4j.api.client.IOSClientBuilder.V2
    getBuilder(String endPointUrl)
     
     
     
     
     

    Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    equals, getDescription, getId, hashCode

    Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

    getDescriptor, getScope

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    getDescription

    Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials

    isUsernameSecret
  • Constructor Details

    • OpenstackCredentialv2

      @DataBoundConstructor public OpenstackCredentialv2(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String description, @CheckForNull String tenant, @CheckForNull String username, @CheckForNull String password)
    • OpenstackCredentialv2

      public OpenstackCredentialv2(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull String id, @CheckForNull String description, @CheckForNull String tenant, @CheckForNull String username, @CheckForNull Secret password)
  • Method Details

    • getPassword

      @Nonnull public Secret getPassword()
      Specified by:
      getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
    • getBuilder

      @Nonnull public org.openstack4j.api.client.IOSClientBuilder.V2 getBuilder(String endPointUrl)
      Specified by:
      getBuilder in interface OpenstackCredential
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTenant

      public String getTenant()
    • getUsername

      @Nonnull public String getUsername()
      Specified by:
      getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials