Class GenericRepositoryViewer

    • Constructor Detail

      • GenericRepositoryViewer

        public GenericRepositoryViewer()
        Specifies a generic viewer.
    • Method Detail

      • viewerUrl

        public GenericRepositoryViewer viewerUrl​(@NotNull
                                                 @NotNull java.lang.String viewerUrl)
        Sets url to be used for link generation.
      • repositoryPath

        public GenericRepositoryViewer repositoryPath​(@Nullable
                                                      @Nullable java.lang.String repositoryPath)
        Sets a relative path in remote repository. By default, it is empty.

        When checking out a module from a repository, for example SVN repository, a file path shown in Bamboo is relative to that module and not the repository root. If that's the case, the missing part of the path needs to be defined here.