Uses of Interface
com.atlassian.bamboo.credentials.CredentialsData
Packages that use CredentialsData
Package
Description
-
Uses of CredentialsData in com.atlassian.bamboo.configuration.credentials
Methods in com.atlassian.bamboo.configuration.credentials that return types with arguments of type CredentialsDataModifier and TypeMethodDescriptionConfigureSharedCredentials.getAllCredentials()ConfigureSharedCredentials.getCredentials(@NotNull String pluginKey) Methods in com.atlassian.bamboo.configuration.credentials with parameters of type CredentialsDataModifier and TypeMethodDescriptionCredentialsUIConfigBean.getCredentialsConfigurationMap(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @Nullable CredentialsData previousCredentialsData) @NotNull StringCredentialsUIConfigBean.prepareEditHtml(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull CredentialsData credentialsData, @NotNull CredentialsRenderMode renderMode) voidCredentialsUIConfigBean.validateCredentialsConfiguration(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) -
Uses of CredentialsData in com.atlassian.bamboo.configuration.external
Methods in com.atlassian.bamboo.configuration.external that return CredentialsDataModifier and TypeMethodDescription@NotNull CredentialsDataCredentialsExportService.importCredentials(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) Validates exported credential properties within Bamboo context (e.g. verifying database integrity), then imports the data into the database.@NotNull CredentialsDataCredentialsExportServiceImpl.importCredentials(@NotNull com.atlassian.bamboo.specs.api.model.credentials.SharedCredentialsProperties credentialProperties) Methods in com.atlassian.bamboo.configuration.external with parameters of type CredentialsDataModifier 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.SharedCredentialsCredentialsExportService.toSpecsEntity(@NotNull CredentialsData credentialsData) @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentialsCredentialsExportServiceImpl.toSpecsEntity(@NotNull CredentialsData credentialsData) -
Uses of CredentialsData in com.atlassian.bamboo.credentials
Subinterfaces of CredentialsData in com.atlassian.bamboo.credentialsClasses in com.atlassian.bamboo.credentials that implement CredentialsDataModifier and TypeClassDescriptionclassDB objects for credentials data.classMethods in com.atlassian.bamboo.credentials that return CredentialsDataModifier and TypeMethodDescription@NotNull CredentialsDataCredentialsManager.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 CredentialsDataCredentialsManagerImpl.createCredentials(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) @NotNull CredentialsDataCredentialsManager.createOrUpdateCredentials(@NotNull CredentialsData credentials) Creates credentials based on the object representation.@NotNull CredentialsDataCredentialsManagerImpl.createOrUpdateCredentials(@NotNull CredentialsData credentials) @NotNull CredentialsDataCredentialsManager.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 CredentialsDataCredentialsManagerImpl.createProjectCredentials(@NotNull CredentialTypeModuleDescriptor credentialDescriptor, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, @NotNull Long projectId) @NotNull CredentialsDataCredentialsManager.editCredentials(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) Updates Credentials with values in the configuration map.@NotNull CredentialsDataCredentialsManagerImpl.editCredentials(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig) @NotNull CredentialsDataCredentialsManager.editProjectCredentials(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, long projectId) Updates Credentials with values in the configuration map.@NotNull CredentialsDataCredentialsManagerImpl.editProjectCredentials(long credentialsId, @NotNull String credentialsName, @NotNull Map<String, String> credentialsConfig, long projectId) @Nullable CredentialsDataCredentialsAccessor.getCredentials(long id) Gets the Shared Credentials by idCredentialsManagerImpl.getCredentials(long id) @Nullable CredentialsDataCredentialsAccessor.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 CredentialsDataCredentialsAccessor.getCredentialsByOid(BambooEntityOid oid) Find shared credentials byBambooEntityOidCredentialsManagerImpl.getCredentialsByOid(BambooEntityOid oid) @Nullable CredentialsDataCredentialsAccessor.getProjectCredentials(long id, long projectId) Gets the Shared Credentials by id and projectId@Nullable CredentialsDataCredentialsManagerImpl.getProjectCredentials(long id, long projectId) @NotNull CredentialsDataCredentialsManager.mergeImportedEntity(@NotNull CredentialsData importedEntity) Merges the state of the given imported entity into the database.@NotNull CredentialsDataCredentialsManagerImpl.mergeImportedEntity(@NotNull CredentialsData importedEntity) @Nullable CredentialsDataCredentialsManager.updateCredentialsName(long id, @NotNull String name) Updates shared credentials name@NotNull CredentialsDataCredentialsManagerImpl.updateCredentialsName(long id, @NotNull String name) Methods in com.atlassian.bamboo.credentials that return types with arguments of type CredentialsDataModifier and TypeMethodDescription@NotNull Iterable<CredentialsData>CredentialsAccessor.getAllCredentials()Deprecated.@NotNull Iterable<CredentialsData>CredentialsAccessor.getAllCredentials(@NotNull String pluginKey) Deprecated.since 8.2 this method does not return project Credentials, so the name is confusing. useCredentialsAccessor.getGlobalCredentials()@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 byoidwithout 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) Methods in com.atlassian.bamboo.credentials with parameters of type CredentialsDataModifier and TypeMethodDescription@NotNull CredentialsDataCredentialsManager.createOrUpdateCredentials(@NotNull CredentialsData credentials) Creates credentials based on the object representation.@NotNull CredentialsDataCredentialsManagerImpl.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 existingCredentialsDatato a map.SshCredentialType.getCredentialsConfigurationMap(@NotNull CredentialsData credentialsData) UsernamePasswordCredentialType.getCredentialsConfigurationMap(@NotNull CredentialsData credentialsData) @NotNull CredentialsDataCredentialsManager.mergeImportedEntity(@NotNull CredentialsData importedEntity) Merges the state of the given imported entity into the database.@NotNull CredentialsDataCredentialsManagerImpl.mergeImportedEntity(@NotNull CredentialsData importedEntity) voidAbstractCredentialType.populateContextForEdit(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) voidCredentialType.populateContextForEdit(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) Provide any required context to be used when rendering the freemarker template for editing credentials.voidUsernamePasswordCredentialType.populateContextForEdit(@NotNull Map<String, Object> context, @NotNull CredentialsData previousCredentialsData) @NotNull com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentialsCredentialTypeExporter.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.SharedCredentialsDefaultCredentialTypeExporter.toSpecsEntity(@NotNull CredentialsData credentialData) com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentialsSshCredentialTypeExporter.toSpecsEntity(CredentialsData credentialsData) com.atlassian.bamboo.specs.api.builders.credentials.SharedCredentialsUsernamePasswordCredentialTypeExporter.toSpecsEntity(CredentialsData credentialsData) voidAbstractCredentialType.validate(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) voidCredentialsManager.validate(@NotNull CredentialsData importedEntity) Validate entity before saving it in database.voidCredentialsManagerImpl.validate(@NotNull CredentialsData importedEntity) voidCredentialType.validate(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) Validate configuration.voidSshCredentialType.validate(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) voidUsernamePasswordCredentialType.validate(@NotNull ActionParametersMap params, @Nullable CredentialsData previousCredentialsData, @NotNull ErrorCollection errorCollection) voidCredentialsUsageDetector.validateProjectSharedCredentialsNotUsedInRepositories(CredentialsData credentials, Project project) voidCredentialsUsageDetectorImpl.validateProjectSharedCredentialsNotUsedInRepositories(CredentialsData credentials, Project project) Constructors in com.atlassian.bamboo.credentials with parameters of type CredentialsDataModifierConstructorDescriptionCredentialsDataEntity(@NotNull CredentialsData other) CredentialsDataImpl(@NotNull CredentialsData other) SshCredentialsImpl(CredentialsData credentials) UsernamePasswordCredentials(@NotNull CredentialsData credentials) Constructor parameters in com.atlassian.bamboo.credentials with type arguments of type CredentialsDataModifierConstructorDescriptionPaginatedProjectSharedCredentials(List<CredentialsData> credentials, boolean hasMore, int nextStart) -
Uses of CredentialsData in com.atlassian.bamboo.deployments.execution
Methods in com.atlassian.bamboo.deployments.execution that return types with arguments of type CredentialsDataModifier and TypeMethodDescription@NotNull Iterable<CredentialsData>DeploymentContextImpl.getSharedCredentials()Constructor parameters in com.atlassian.bamboo.deployments.execution with type arguments of type CredentialsDataModifierConstructorDescriptionDeploymentContextImpl(@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
Methods in com.atlassian.bamboo.testutils.credentials that return CredentialsDataModifier and TypeMethodDescriptionstatic @NotNull CredentialsDataCredentialsDataTestHelper.createCredentialsData(@NotNull String credentialsKey, @NotNull String credentialsName, @NotNull Map<String, String> config) -
Uses of CredentialsData in com.atlassian.bamboo.v2.build
Methods in com.atlassian.bamboo.v2.build that return types with arguments of type CredentialsDataModifier and TypeMethodDescription@NotNull Iterable<CredentialsData>BuildContextImpl.getSharedCredentials()@NotNull Iterable<CredentialsData>CommonContext.getSharedCredentials()Constructor parameters in com.atlassian.bamboo.v2.build with type arguments of type CredentialsDataModifierConstructorDescriptionBuildContextImpl(BuildIdentifier identifier, TriggerReason triggerReason, @NotNull 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
Methods in com.atlassian.bamboo.v2.build.agent.remote that return CredentialsDataModifier and TypeMethodDescription@Nullable CredentialsDataRemoteCredentialsAccessor.getCredentials(long id) @Nullable CredentialsDataRemoteCredentialsAccessor.getCredentialsByName(@NotNull String name) RemoteCredentialsAccessor.getCredentialsByNameAndProjectId(String name, long projectId) @Nullable CredentialsDataRemoteCredentialsAccessor.getCredentialsByOid(@NotNull BambooEntityOid oid) @Nullable CredentialsDataRemoteCredentialsAccessor.getProjectCredentials(long id, long projectId) Methods in com.atlassian.bamboo.v2.build.agent.remote that return types with arguments of type CredentialsDataModifier 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)
CredentialsAccessor.getGlobalCredentials()