Uses of Interface
com.atlassian.bamboo.credentials.CredentialsData
Package
Description
-
Uses of CredentialsData in com.atlassian.bamboo.configuration.credentials
Modifier and TypeMethodDescriptionConfigureSharedCredentials.getAllCredentials()
ConfigureSharedCredentials.getCredentials
(@NotNull String pluginKey) Modifier and TypeMethodDescriptionCredentialsUIConfigBean.getCredentialsConfigurationMap
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @Nullable CredentialsData previousCredentialsData) @NotNull String
CredentialsUIConfigBean.prepareEditHtml
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull CredentialsData credentialsData, @NotNull CredentialsRenderMode renderMode) void
CredentialsUIConfigBean.validateCredentialsConfiguration
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) -
Uses of CredentialsData in com.atlassian.bamboo.configuration.external
Modifier and TypeMethodDescription@NotNull CredentialsData
CredentialsExportService.importCredentials
(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) Validates exported credential properties within Bamboo context (e.g.@NotNull CredentialsData
CredentialsExportServiceImpl.importCredentials
(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) Modifier and TypeMethodDescriptionCredentialsExportService.exportCredentials
(@NotNull CredentialsData credentialsData) Export a shared credential to default location in Bamboo home dir.CredentialsExportServiceImpl.exportCredentials
(@NotNull CredentialsData credentialsData) @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
CredentialsExportService.toSpecsEntity
(@NotNull CredentialsData credentialsData) @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
CredentialsExportServiceImpl.toSpecsEntity
(@NotNull CredentialsData credentialsData) -
Uses of CredentialsData in com.atlassian.bamboo.credentials
Modifier and TypeClassDescriptionclass
DB objects for credentials data.class
Modifier and TypeMethodDescription@NotNull CredentialsData
CredentialsManager.createCredentials
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) Creates Credentials from the configuration map and stores them in the database.@NotNull CredentialsData
CredentialsManagerImpl.createCredentials
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) @NotNull CredentialsData
CredentialsManager.createOrUpdateCredentials
(@NotNull CredentialsData credentials) Creates credentials based on the object representation.@NotNull CredentialsData
CredentialsManagerImpl.createOrUpdateCredentials
(@NotNull CredentialsData credentials) @NotNull CredentialsData
CredentialsManager.createProjectCredentials
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, @NotNull Long projectId) Creates Credentials from the configuration map and stores them in the database.@NotNull CredentialsData
CredentialsManagerImpl.createProjectCredentials
(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, @NotNull Long projectId) @NotNull CredentialsData
CredentialsManager.editCredentials
(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) Updates Credentials with values in the configuration map.@NotNull CredentialsData
CredentialsManagerImpl.editCredentials
(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) @NotNull CredentialsData
CredentialsManager.editProjectCredentials
(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, long projectId) Updates Credentials with values in the configuration map.@NotNull CredentialsData
CredentialsManagerImpl.editProjectCredentials
(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, long projectId) @Nullable CredentialsData
CredentialsAccessor.getCredentials
(long id) Gets the Shared Credentials by idCredentialsManagerImpl.getCredentials
(long id) @Nullable CredentialsData
CredentialsAccessor.getCredentialsByName
(String name) Find global shared credentials by nameCredentialsManagerImpl.getCredentialsByName
(String name) CredentialsAccessor.getCredentialsByNameAndProjectId
(String name, long projectId) Find shared credentials by name and project idCredentialsManagerImpl.getCredentialsByNameAndProjectId
(String name, long projectId) @Nullable CredentialsData
CredentialsAccessor.getCredentialsByOid
(BambooEntityOid oid) Find shared credentials byBambooEntityOid
CredentialsManagerImpl.getCredentialsByOid
(BambooEntityOid oid) @Nullable CredentialsData
CredentialsAccessor.getProjectCredentials
(long id, long projectId) Gets the Shared Credentials by id and projectId@Nullable CredentialsData
CredentialsManagerImpl.getProjectCredentials
(long id, long projectId) @NotNull CredentialsData
CredentialsManager.mergeImportedEntity
(@NotNull CredentialsData importedEntity) Merges the state of the given imported entity into the database.@NotNull CredentialsData
CredentialsManagerImpl.mergeImportedEntity
(@NotNull CredentialsData importedEntity) @Nullable CredentialsData
CredentialsManager.updateCredentialsName
(long id, @NotNull String name) Updates shared credentials name@NotNull CredentialsData
CredentialsManagerImpl.updateCredentialsName
(long id, @NotNull String name) Modifier and TypeMethodDescription@NotNull Iterable<CredentialsData>
CredentialsAccessor.getAllCredentials()
Deprecated.since 8.2 this method does not return project Credentials, so the name is confusing.@NotNull Iterable<CredentialsData>
CredentialsAccessor.getAllCredentials
(@NotNull String pluginKey) Deprecated.since 8.2 this method does not return project Credentials, so the name is confusing.@NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getAllCredentials()
@NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getAllCredentials
(@NotNull String pluginKey) @NotNull List<CredentialsData>
EncryptedCredentialsAccessor.getAllCredentials()
Gets all shared credentials without decrypting their configuration.@NotNull List<CredentialsData>
EncryptedCredentialsAccessorImpl.getAllCredentials()
@NotNull Iterable<CredentialsData>
CredentialsAccessor.getAllCredentialsByPluginKey
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getAllCredentialsByPluginKey
(@NotNull String pluginKey) static Iterable<CredentialsData>
Credentials.getAllSharedCredentials
(@NotNull Iterable<? extends VcsRepositoryData> repositories, @NotNull VcsRepositoryManager vcsRepositoryManager, @NotNull CredentialsAccessor credentialsAccessor) static <T> Iterable<CredentialsData>
Credentials.getAllSharedCredentials
(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, @NotNull Function<T, SharedCredentialDepender> createDependerFunction) static <T> Iterable<CredentialsData>
Credentials.getAllSharedCredentials
(@NotNull Iterable<T> sharedCredentialTypes, @NotNull CredentialsAccessor credentialsAccessor, Function<T, ConfigurableSharedCredentialDepender> createDependerFunction, Function<T, Map<String, String>> createConfigFunction) PaginatedProjectSharedCredentials.getCredentials()
@NotNull Optional<CredentialsData>
EncryptedCredentialsAccessor.getCredentialsById
(long id) Gets the shared credentials by id without decrypting its configuration.@NotNull Optional<CredentialsData>
EncryptedCredentialsAccessorImpl.getCredentialsById
(long id) @NotNull Optional<CredentialsData>
EncryptedCredentialsAccessor.getCredentialsByName
(@NotNull String name) Gets the shared credentials by name without decrypting its configuration.@NotNull Optional<CredentialsData>
EncryptedCredentialsAccessorImpl.getCredentialsByName
(@NotNull String name) @NotNull Optional<CredentialsData>
EncryptedCredentialsAccessor.getCredentialsByOid
(@NotNull BambooEntityOid oid) Gets the shared credentials byoid
without decrypting its configuration.@NotNull Optional<CredentialsData>
EncryptedCredentialsAccessorImpl.getCredentialsByOid
(@NotNull BambooEntityOid oid) CredentialsAccessor.getGlobalCredentials()
@NotNull Iterable<CredentialsData>
CredentialsAccessor.getGlobalCredentials
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getGlobalCredentials()
@NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getGlobalCredentials
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
CredentialsAccessor.getProjectCredentials
(@NotNull Long projectId) @NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getProjectCredentials
(@NotNull Long projectId) @NotNull Iterable<CredentialsData>
CredentialsAccessor.getProjectCredentialsByPluginKey
(@NotNull Long projectId, String pluginKey) @NotNull Iterable<CredentialsData>
CredentialsManagerImpl.getProjectCredentialsByPluginKey
(@NotNull Long projectId, String pluginKey) Modifier and TypeMethodDescription@NotNull CredentialsData
CredentialsManager.createOrUpdateCredentials
(@NotNull CredentialsData credentials) Creates credentials based on the object representation.@NotNull CredentialsData
CredentialsManagerImpl.createOrUpdateCredentials
(@NotNull CredentialsData credentials) CredentialType.generateCredentialsConfigMap
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData) Convert the params from the ui into a config map to be stored in the database.SshCredentialType.generateCredentialsConfigMap
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData) UsernamePasswordCredentialType.generateCredentialsConfigMap
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData) AbstractCredentialType.getCredentialsConfigurationMap
(@NotNull CredentialsData credentialsData) CredentialType.getCredentialsConfigurationMap
(@NotNull CredentialsData credentialsData) Convert an existingCredentialsData
to a map.SshCredentialType.getCredentialsConfigurationMap
(@NotNull CredentialsData credentialsData) UsernamePasswordCredentialType.getCredentialsConfigurationMap
(@NotNull CredentialsData credentialsData) @NotNull CredentialsData
CredentialsManager.mergeImportedEntity
(@NotNull CredentialsData importedEntity) Merges the state of the given imported entity into the database.@NotNull CredentialsData
CredentialsManagerImpl.mergeImportedEntity
(@NotNull CredentialsData importedEntity) void
AbstractCredentialType.populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) void
CredentialType.populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) Provide any required context to be used when rendering the freemarker template for editing credentials.void
UsernamePasswordCredentialType.populateContextForEdit
(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) boolean
CredentialsAccessor.IsCredentialsOfType.test
(CredentialsData input) Deprecated.@NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
CredentialTypeExporter.toSpecsEntity
(@NotNull CredentialsData credentialsData) Exports the supplied credentials data and credential configuration to a credential type-specific properties.@NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
DefaultCredentialTypeExporter.toSpecsEntity
(@NotNull CredentialsData credentialData) com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
SshCredentialTypeExporter.toSpecsEntity
(CredentialsData credentialsData) com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentials
UsernamePasswordCredentialTypeExporter.toSpecsEntity
(CredentialsData credentialsData) void
AbstractCredentialType.validate
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) void
CredentialsManager.validate
(@NotNull CredentialsData importedEntity) Validate entity before saving it in database.void
CredentialsManagerImpl.validate
(@NotNull CredentialsData importedEntity) void
CredentialType.validate
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) Validate configuration.void
SshCredentialType.validate
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) void
UsernamePasswordCredentialType.validate
(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) void
CredentialsUsageDetector.validateProjectSharedCredentialsNotUsedInRepositories
(CredentialsData credentials, Project project) void
CredentialsUsageDetectorImpl.validateProjectSharedCredentialsNotUsedInRepositories
(CredentialsData credentials, Project project) ModifierConstructorDescriptionCredentialsDataEntity
(@NotNull CredentialsData other) CredentialsDataImpl
(@NotNull CredentialsData other) SshCredentialsImpl
(CredentialsData credentials) UsernamePasswordCredentials
(@NotNull CredentialsData credentials) ModifierConstructorDescriptionPaginatedProjectSharedCredentials
(List<CredentialsData> credentials, boolean hasMore, int nextStart) -
Uses of CredentialsData in com.atlassian.bamboo.deployments.execution
Modifier and TypeMethodDescription@NotNull Iterable<CredentialsData>
DeploymentContextImpl.getSharedCredentials()
ModifierConstructorDescriptionDeploymentContextImpl
(@NotNull DeploymentProject deploymentProject, @NotNull DeploymentResult deploymentResult, @NotNull List<TaskDefinition> taskDefinitions, @NotNull Map<String, String> artifactHandlerConfiguration, @NotNull VariableContext variableContext, Map<Long, PlanRepositoryDefinition> planRepositoryDefinitionMap, Multimap<String, Artifact> versionArtifacts, @Nullable DeploymentVersion previousVersion, @NotNull Iterable<CredentialsData> sharedCredentials, @NotNull Map<PlanKey, ChainStorageTag> necessaryStorageTags, @NotNull Map<String, Map<String, String>> pluginConfigMap, @NotNull DockerPipelineConfiguration dockerPipelineConfiguration, @NotNull CommonArtifactContext commonArtifactContext, boolean isVerboseLoggingOn, boolean expectingDedicatedEphemeralAgent) -
Uses of CredentialsData in com.atlassian.bamboo.testutils.credentials
Modifier and TypeMethodDescriptionstatic @NotNull CredentialsData
CredentialsDataTestHelper.createCredentialsData
(@NotNull String credentialsKey, @NotNull String credentialsName, @NotNull Map<String, String> config) -
Uses of CredentialsData in com.atlassian.bamboo.v2.build
Modifier and TypeMethodDescription@NotNull Iterable<CredentialsData>
BuildContextImpl.getSharedCredentials()
@NotNull Iterable<CredentialsData>
CommonContext.getSharedCredentials()
ModifierConstructorDescriptionBuildContextImpl
(BuildIdentifier identifier, TriggerReason triggerReason, BuildDefinition buildDefinition, @Nullable BuildChanges buildChanges, @Nullable BuildContext parentBuildContext, @Nullable ArtifactContext artifactContext, VariableContext variableContext, @Nullable Map<String, String> customBuildData, Map<Long, PlanRepositoryDefinition> planRepositoryDefinitionMap, Set<Long> relevantRepositoryIds, Map<Long, String> checkoutLocation, boolean isBranch, boolean isOnceOff, boolean isCustomBuild, boolean isVerboseLoggingOn, BambooBandanaContext bandanaContext, @NotNull Iterable<CredentialsData> relevantSharedCredentials, @NotNull Map<PlanKey, ChainStorageTag> relevantStorageTags, BuildKey buildKey, MergeResultContext mergeResult, boolean expectingCustomDedicatedAgent) Using this constructor directly is not recommended. -
Uses of CredentialsData in com.atlassian.bamboo.v2.build.agent.remote
Modifier and TypeMethodDescription@Nullable CredentialsData
RemoteCredentialsAccessor.getCredentials
(long id) @Nullable CredentialsData
RemoteCredentialsAccessor.getCredentialsByName
(@NotNull String name) RemoteCredentialsAccessor.getCredentialsByNameAndProjectId
(String name, long projectId) @Nullable CredentialsData
RemoteCredentialsAccessor.getCredentialsByOid
(@NotNull BambooEntityOid oid) @Nullable CredentialsData
RemoteCredentialsAccessor.getProjectCredentials
(long id, long projectId) Modifier and TypeMethodDescription@NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getAllCredentials()
@NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getAllCredentials
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getAllCredentialsByPluginKey
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getGlobalCredentials()
@NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getGlobalCredentials
(@NotNull String pluginKey) @NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getProjectCredentials
(@NotNull Long projectId) @NotNull Iterable<CredentialsData>
RemoteCredentialsAccessor.getProjectCredentialsByPluginKey
(@NotNull Long projectId, String pluginKey) -
Uses of CredentialsData in com.atlassian.bamboo.vcs.configuration.legacy
Modifier and TypeMethodDescription@NotNull Iterable<CredentialsData>
DeploymentRepositoryBuildContext.getSharedCredentials()