public interface CredentialsAccessor
Modifier and Type | Interface and Description |
---|---|
static class |
CredentialsAccessor.IsCredentialsOfType
Deprecated.
since 5.15, use
BambooPluginUtils#pluginKeyEquals(String) |
Modifier and Type | Method and Description |
---|---|
Iterable<CredentialsData> |
getAllCredentials() |
Iterable<CredentialsData> |
getAllCredentials(String pluginKey) |
CredentialsData |
getCredentials(long id)
Gets the Shared Credentials by id
|
CredentialsData |
getCredentialsByName(String name)
Find shared credentials by name
|
CredentialsData |
getCredentialsByOid(BambooEntityOid oid)
Find shared credentials by
BambooEntityOid |
boolean |
hasAnyCredentials(String pluginKey) |
@Nullable CredentialsData getCredentials(long id)
id
- @Nullable CredentialsData getCredentialsByOid(BambooEntityOid oid)
BambooEntityOid
oid
- @Nullable CredentialsData getCredentialsByName(String name)
name
- @NotNull Iterable<CredentialsData> getAllCredentials()
@NotNull Iterable<CredentialsData> getAllCredentials(@NotNull String pluginKey)
boolean hasAnyCredentials(@NotNull String pluginKey)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.