Package com.atlassian.bamboo.credentials
Interface CredentialsUsageDetector
-
- All Known Implementing Classes:
CredentialsUsageDetectorImpl
public interface CredentialsUsageDetector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SharedCredentialsInEnvironments
getCredentialsInAllEnvironments(Long sharedCredentialsId)
SharedCredentialsInJobs
getCredentialsInAllPlans(Long sharedCredentialsId)
SharedCredentialsInRepositories
getCredentialsInAllRepositories(Long sharedCredentialsId)
SharedCredentialsInJobs
getCredentialsInProjectPlans(Long sharedCredentialsId, Project project)
SharedCredentialsInRepositories
getCredentialsInProjectRepositories(Long sharedCredentialsId, Project project)
Set<Long>
getProjectSharedCredentialsForPlanTasks(ImmutableChain immutableChain)
boolean
hasProjectSharedCredentialsInRepository(VcsRepositoryData vcsRepositoryData)
void
validateProjectSharedCredentialsNotUsedInRepositories(CredentialsData credentials, Project project)
-
-
-
Method Detail
-
getCredentialsInAllPlans
SharedCredentialsInJobs getCredentialsInAllPlans(Long sharedCredentialsId)
-
getCredentialsInProjectPlans
SharedCredentialsInJobs getCredentialsInProjectPlans(Long sharedCredentialsId, Project project)
-
getCredentialsInAllEnvironments
SharedCredentialsInEnvironments getCredentialsInAllEnvironments(Long sharedCredentialsId)
-
getCredentialsInAllRepositories
SharedCredentialsInRepositories getCredentialsInAllRepositories(Long sharedCredentialsId)
-
getCredentialsInProjectRepositories
SharedCredentialsInRepositories getCredentialsInProjectRepositories(Long sharedCredentialsId, Project project)
-
hasProjectSharedCredentialsInRepository
boolean hasProjectSharedCredentialsInRepository(VcsRepositoryData vcsRepositoryData)
-
getProjectSharedCredentialsForPlanTasks
Set<Long> getProjectSharedCredentialsForPlanTasks(ImmutableChain immutableChain)
-
validateProjectSharedCredentialsNotUsedInRepositories
void validateProjectSharedCredentialsNotUsedInRepositories(CredentialsData credentials, Project project) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
- Throws:
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
-
-