Class BranchStatusServiceImpl

    • Constructor Detail

      • BranchStatusServiceImpl

        @Inject
        public BranchStatusServiceImpl​(CachedPlanManager cachedPlanManager)
    • Method Detail

      • getBranchStatusLinkInfo

        @NotNull
        public @NotNull BranchStatusLinkInfo getBranchStatusLinkInfo​(@NotNull
                                                                     @NotNull ImmutablePlan plan,
                                                                     @Nullable
                                                                     @Nullable String navigationSource)
        Description copied from interface: BranchStatusService
        Provides information about branch status link for the given plan - whether the link should or should not be displayed and what is the direct URL for this plan's VCS branch.
        Specified by:
        getBranchStatusLinkInfo in interface BranchStatusService
        Parameters:
        plan - plan, for which the URL is to be generated
        navigationSource - navigation source of the link (where is it going to appear), e.g. 'email' or 'header'
        Returns:
        branch status link info