Class NPMCredentialsImplementation
- java.lang.Object
-
- com.cloudbees.plugins.credentials.BaseCredentials
-
- com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
-
- io.interrogate.npmyarnwrappersteps.plugin.credentials.NPMCredentialsImplementation
-
- All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials
,com.cloudbees.plugins.credentials.common.StandardCredentials
,com.cloudbees.plugins.credentials.Credentials
,hudson.ExtensionPoint
,hudson.model.Describable<com.cloudbees.plugins.credentials.Credentials>
,NPMCredentials
,java.io.Serializable
public class NPMCredentialsImplementation extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements NPMCredentials
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NPMCredentialsImplementation.DescriptorImplementation
-
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
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description NPMCredentialsImplementation(com.cloudbees.plugins.credentials.CredentialsScope scope, java.lang.String id, java.lang.String registry, java.lang.String userEmail, java.lang.String username, java.lang.String password, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description hudson.util.Secret
getPassword()
java.lang.String
getRegistry()
java.lang.String
getUserEmail()
java.lang.String
getUsername()
-
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, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
NPMCredentialsImplementation
@DataBoundConstructor public NPMCredentialsImplementation(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @CheckForNull java.lang.String id, @Nonnull java.lang.String registry, @Nonnull java.lang.String userEmail, @Nonnull java.lang.String username, @Nonnull java.lang.String password, @CheckForNull java.lang.String description)
-
-
Method Detail
-
getRegistry
public java.lang.String getRegistry()
- Specified by:
getRegistry
in interfaceNPMCredentials
-
getUserEmail
public java.lang.String getUserEmail()
- Specified by:
getUserEmail
in interfaceNPMCredentials
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interfaceNPMCredentials
-
getPassword
public hudson.util.Secret getPassword()
- Specified by:
getPassword
in interfaceNPMCredentials
-
-