public interface BranchStatusService
Modifier and Type | Method and Description |
---|---|
@NotNull BranchStatusLinkInfo |
getBranchStatusLinkInfo(@NotNull ImmutablePlan plan,
@Nullable String navigationSource)
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.
|
boolean |
shouldDisplayBranchStatusLink(@NotNull ImmutablePlan plan)
Whether a link to branch status page should be displayed for the given plan.
|
@NotNull @NotNull BranchStatusLinkInfo getBranchStatusLinkInfo(@NotNull @NotNull ImmutablePlan plan, @Nullable @Nullable String navigationSource)
plan
- plan, for which the URL is to be generatednavigationSource
- navigation source of the link (where is it going to appear), e.g. 'email' or 'header'boolean shouldDisplayBranchStatusLink(@NotNull @NotNull ImmutablePlan plan)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences