Class BitbucketServerMirror
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<BitbucketServerMirrorProperties>
-
- com.atlassian.bamboo.specs.builders.repository.bitbucket.server.BitbucketServerMirror
-
public class BitbucketServerMirror extends EntityPropertiesBuilder<BitbucketServerMirrorProperties>
Represents mirror of Bitbucket Server repository. Either name or url must be specified.
-
-
Constructor Summary
Constructors Constructor Description BitbucketServerMirror()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BitbucketServerMirrorPropertiesbuild()BitbucketServerMirrorname(@NotNull java.lang.String name)Name of the mirror as displayed in the web interface.BitbucketServerMirrorurl(@NotNull java.lang.String url)Clone url for the ssh interface.
-
-
-
Method Detail
-
name
public BitbucketServerMirror name(@NotNull @NotNull java.lang.String name)
Name of the mirror as displayed in the web interface. Either name or url needs to be defined, the missing part is going to be fetched from Bitbucket. When in repository specs mode, both name and url must be defined.
-
url
public BitbucketServerMirror url(@NotNull @NotNull java.lang.String url)
Clone url for the ssh interface. E.g. 'ssh://git@mirror-au.example.com:7997/foo/bar.git' Either name or url needs to be defined, the missing part is going to be fetched from Bitbucket. When in repository specs mode, both name and url must be defined.
-
build
protected BitbucketServerMirrorProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<BitbucketServerMirrorProperties>
-
-