@ExportedBean public abstract class BaseStandardCredentials extends BaseCredentials implements StandardCredentials
StandardCredentials
.Modifier and Type | Class and Description |
---|---|
protected static class |
BaseStandardCredentials.BaseStandardCredentialsDescriptor
Descriptor to use for subclasses of
BaseStandardCredentials . |
StandardCredentials.NameProvider
IdCredentials.Helpers
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
BaseStandardCredentials(CredentialsScope scope,
String id,
String description)
Constructor.
|
BaseStandardCredentials(String id,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription()
Returns the Description.
|
String |
getId()
Returns the ID.
|
int |
hashCode() |
getDescriptor, getScope
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDescriptor, getScope
public BaseStandardCredentials(@CheckForNull String id, @CheckForNull String description)
id
- the id.description
- the description.public BaseStandardCredentials(@CheckForNull CredentialsScope scope, @CheckForNull String id, @CheckForNull String description)
scope
- the scope.id
- the id.description
- the description.@NonNull @Exported public String getDescription()
getDescription
in interface StandardCredentials
@NonNull @Exported public String getId()
getId
in interface IdCredentials
Copyright © 2016–2021. All rights reserved.