public class UserCredentials
extends com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl
implements com.cloudbees.plugins.credentials.common.StandardCredentials
| Modifier and Type | Class and Description |
|---|---|
static class |
UserCredentials.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptorcom.cloudbees.plugins.credentials.common.StandardCredentials.NameProvidercom.cloudbees.plugins.credentials.common.IdCredentials.HelpersExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
UserCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
static UserCredentials |
get(String credentialId,
Item item)
The credentials of this type with this credentialId that apply to this item
|
getPassword, getUsernameequals, getDescription, getId, hashCodegetDescriptor, getScopeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic static UserCredentials get(@Nonnull String credentialId, @Nullable Item item)
credentialId - the id of the credentialitem - the optional item (context)null if no matching credentials existCopyright © 2016–2022. All rights reserved.