@ExportedBean public class BaseCredentials extends Object implements Credentials
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier | Constructor and Description |
---|---|
protected |
BaseCredentials() |
|
BaseCredentials(CredentialsScope scope)
Creates an instance with specific scope.
|
Modifier and Type | Method and Description |
---|---|
CredentialsDescriptor |
getDescriptor() |
CredentialsScope |
getScope()
Gets the scope of the credential.
|
protected BaseCredentials()
public BaseCredentials(@CheckForNull CredentialsScope scope)
scope
- the scope.@CheckForNull public CredentialsScope getScope()
getScope
in interface Credentials
@NonNull public CredentialsDescriptor getDescriptor()
getDescriptor
in interface Credentials
getDescriptor
in interface Describable<Credentials>
Copyright © 2016–2021. All rights reserved.