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 |
---|---|
@NotNull Iterable<CredentialsData> |
getAllCredentials()
Deprecated.
since 8.2 this method does not return project Credentials, so the name is confusing. use
getGlobalCredentials() |
@NotNull Iterable<CredentialsData> |
getAllCredentials(@NotNull String pluginKey)
Deprecated.
since 8.2 this method does not return project Credentials, so the name is confusing. use
getGlobalCredentials() |
@NotNull Iterable<CredentialsData> |
getAllCredentialsByPluginKey(@NotNull String pluginKey) |
@Nullable CredentialsData |
getCredentials(long id)
Gets the Shared Credentials by id
|
@Nullable CredentialsData |
getCredentialsByName(String name)
Find global shared credentials by name
|
CredentialsData |
getCredentialsByNameAndProjectId(String name,
long projectId)
Find shared credentials by name and project id
|
@Nullable CredentialsData |
getCredentialsByOid(BambooEntityOid oid)
Find shared credentials by
BambooEntityOid |
Iterable<CredentialsData> |
getGlobalCredentials() |
@NotNull Iterable<CredentialsData> |
getGlobalCredentials(@NotNull String pluginKey) |
@NotNull Iterable<CredentialsData> |
getProjectCredentials(@NotNull Long projectId) |
@Nullable CredentialsData |
getProjectCredentials(long id,
long projectId)
Gets the Shared Credentials by id and projectId
|
@NotNull Iterable<CredentialsData> |
getProjectCredentialsByPluginKey(@NotNull Long projectId,
String pluginKey) |
boolean |
hasAnyCredentials(@NotNull String pluginKey) |
@Nullable @Nullable CredentialsData getCredentials(long id)
id
- @Nullable @Nullable CredentialsData getProjectCredentials(long id, long projectId)
id
- @Nullable @Nullable CredentialsData getCredentialsByOid(BambooEntityOid oid)
BambooEntityOid
oid
- @Nullable @Nullable CredentialsData getCredentialsByName(String name)
name
- CredentialsData getCredentialsByNameAndProjectId(String name, long projectId)
name
- projectId
- @Deprecated @NotNull @NotNull Iterable<CredentialsData> getAllCredentials()
getGlobalCredentials()
Iterable<CredentialsData> getGlobalCredentials()
@NotNull @NotNull Iterable<CredentialsData> getProjectCredentials(@NotNull @NotNull Long projectId)
projectId
- @Deprecated @NotNull @NotNull Iterable<CredentialsData> getAllCredentials(@NotNull @NotNull String pluginKey)
getGlobalCredentials()
@NotNull @NotNull Iterable<CredentialsData> getGlobalCredentials(@NotNull @NotNull String pluginKey)
@NotNull @NotNull Iterable<CredentialsData> getAllCredentialsByPluginKey(@NotNull @NotNull String pluginKey)
@NotNull @NotNull Iterable<CredentialsData> getProjectCredentialsByPluginKey(@NotNull @NotNull Long projectId, String pluginKey)
projectId
- pluginKey
- boolean hasAnyCredentials(@NotNull @NotNull String pluginKey)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.