Package com.atlassian.bamboo.credentials
Class CredentialsUsageDetectorImpl
java.lang.Object
com.atlassian.bamboo.credentials.CredentialsUsageDetectorImpl
- All Implemented Interfaces:
CredentialsUsageDetector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCredentialsInAllEnvironments
(Long sharedCredentialsId) getCredentialsInAllPlans
(Long sharedCredentialsId) getCredentialsInAllRepositories
(Long sharedCredentialsId) getCredentialsInProjectPlans
(Long sharedCredentialsId, Project project) getCredentialsInProjectRepositories
(Long sharedCredentialsId, Project project) getProjectSharedCredentialsForPlanTasks
(ImmutableChain immutableChain) boolean
hasProjectSharedCredentialsInRepository
(VcsRepositoryData vcsRepositoryData) void
validateProjectSharedCredentialsNotUsedInRepositories
(CredentialsData credentials, Project project)
-
Constructor Details
-
CredentialsUsageDetectorImpl
public CredentialsUsageDetectorImpl()
-
-
Method Details
-
getCredentialsInAllPlans
- Specified by:
getCredentialsInAllPlans
in interfaceCredentialsUsageDetector
-
getCredentialsInProjectPlans
public SharedCredentialsInJobs getCredentialsInProjectPlans(Long sharedCredentialsId, Project project) - Specified by:
getCredentialsInProjectPlans
in interfaceCredentialsUsageDetector
-
getCredentialsInAllEnvironments
- Specified by:
getCredentialsInAllEnvironments
in interfaceCredentialsUsageDetector
-
getCredentialsInAllRepositories
- Specified by:
getCredentialsInAllRepositories
in interfaceCredentialsUsageDetector
-
getCredentialsInProjectRepositories
public SharedCredentialsInRepositories getCredentialsInProjectRepositories(Long sharedCredentialsId, Project project) - Specified by:
getCredentialsInProjectRepositories
in interfaceCredentialsUsageDetector
-