Class BitbucketSeverMirrorClient
- java.lang.Object
-
- com.atlassian.bamboo.plugins.stash.BitbucketSeverMirrorClient
-
@Service public class BitbucketSeverMirrorClient extends Object
-
-
Constructor Summary
Constructors Constructor Description BitbucketSeverMirrorClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<StashMirrorServerEntity>
enrichWithSshUrl(@NotNull com.atlassian.stash.rest.client.api.entity.MirrorServer mirror)
Finds ssh clone url for given mirror and returns structure enriched with that field.
-
-
-
Method Detail
-
enrichWithSshUrl
public Optional<StashMirrorServerEntity> enrichWithSshUrl(@NotNull @NotNull com.atlassian.stash.rest.client.api.entity.MirrorServer mirror)
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.- Parameters:
mirror
-- Returns:
-
-