Class BitbucketValidationHelperImpl
java.lang.Object
com.atlassian.bamboo.plugins.bitbucket.utils.BitbucketValidationHelperImpl
- All Implemented Interfaces:
BitbucketValidationHelper
-
Constructor Summary
ConstructorDescriptionBitbucketValidationHelperImpl
(CredentialsAccessor credentialsAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver, BitbucketApiService bitbucketApiService) -
Method Summary
Modifier and TypeMethodDescription@NotNull ErrorCollection
validate
(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, @NotNull ErrorCollection errorCollection) Validates configuration of a Bitbucket Cloud repository.@NotNull ErrorCollection
validateForConnectionTesting
(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, @NotNull ErrorCollection errorCollection) Validates configuration of a Bitbucket Cloud repository for connection testing.
-
Constructor Details
-
BitbucketValidationHelperImpl
@Inject public BitbucketValidationHelperImpl(CredentialsAccessor credentialsAccessor, com.atlassian.sal.api.message.I18nResolver i18nResolver, BitbucketApiService bitbucketApiService)
-
-
Method Details
-
validate
@NotNull public @NotNull ErrorCollection validate(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, @NotNull @NotNull ErrorCollection errorCollection) Description copied from interface:BitbucketValidationHelper
Validates configuration of a Bitbucket Cloud repository.- Specified by:
validate
in interfaceBitbucketValidationHelper
- See Also:
-
validateForConnectionTesting
@NotNull public @NotNull ErrorCollection validateForConnectionTesting(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration, @NotNull @NotNull ErrorCollection errorCollection) Description copied from interface:BitbucketValidationHelper
Validates configuration of a Bitbucket Cloud repository for connection testing.- Specified by:
validateForConnectionTesting
in interfaceBitbucketValidationHelper
- See Also:
-