Class BitbucketSeverMirrorClient
java.lang.Object
com.atlassian.bamboo.plugins.stash.BitbucketSeverMirrorClient
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenrichWithSshUrl
(@NotNull com.atlassian.stash.rest.client.api.entity.MirrorServer mirror, @NotNull com.atlassian.applinks.api.ApplicationLink applicationLink) Finds ssh clone url for given mirror and returns structure enriched with that field.
-
Constructor Details
-
BitbucketSeverMirrorClient
public BitbucketSeverMirrorClient()
-
-
Method Details
-
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.
-