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 Details

    • BitbucketServerMirror

      public BitbucketServerMirror()
  • Method Details

    • name

      public BitbucketServerMirror name(@NotNull @NotNull 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 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

      Specified by:
      build in class EntityPropertiesBuilder<BitbucketServerMirrorProperties>