public class NavigationContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_NUMBER_PLACEHOLDER |
static String |
PLAN_KEY_PLACEHOLDER |
| Constructor and Description |
|---|
NavigationContext(@NotNull String currentUrl,
@NotNull DecoratedNavObject navObject,
@Nullable String jobUrl,
@Nullable String chainUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChainUrl(DecoratedNavObject chain) |
String |
getCurrentKey() |
DecoratedNavObject |
getCurrentObject() |
@Nullable String |
getCurrentUrl() |
protected String |
getDefaultChainUrl(String key) |
protected String |
getDefaultJobUrl(String key) |
String |
getJobUrl(DecoratedNavObject job) |
DecoratedNavObject |
getNavObject() |
public static final String PLAN_KEY_PLACEHOLDER
public static final String BUILD_NUMBER_PLACEHOLDER
public NavigationContext(@NotNull
@NotNull String currentUrl,
@NotNull
@NotNull DecoratedNavObject navObject,
@Nullable
@Nullable String jobUrl,
@Nullable
@Nullable String chainUrl)
public DecoratedNavObject getNavObject()
public DecoratedNavObject getCurrentObject()
public String getCurrentKey()
public String getJobUrl(DecoratedNavObject job)
public String getChainUrl(DecoratedNavObject chain)
@Nullable public @Nullable String getCurrentUrl()
Copyright © 2025 Atlassian Software Systems Pty Ltd. All rights reserved.