Class BitbucketSeverMirrorClient


  • @Service
    public class BitbucketSeverMirrorClient
    extends Object
    • Constructor Detail

      • BitbucketSeverMirrorClient

        public BitbucketSeverMirrorClient()
    • Method Detail

      • enrichWithSshUrl

        public Optional<StashMirrorServerEntity> enrichWithSshUrl​(@NotNull
                                                                  @NotNull com.atlassian.stash.rest.client.api.entity.MirrorServer mirror,
                                                                  @NotNull
                                                                  @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink)
        Finds ssh clone url for given mirror and returns structure enriched with that field. If ssh url couldn't be determined field is set to null.