com.atlassian.bamboo.ww2
Class NavigationContext
java.lang.Object
com.atlassian.bamboo.ww2.NavigationContext
public class NavigationContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAN_KEY_PLACEHOLDER
public static final java.lang.String PLAN_KEY_PLACEHOLDER
- See Also:
- Constant Field Values
BUILD_NUMBER_PLACEHOLDER
public static final java.lang.String BUILD_NUMBER_PLACEHOLDER
- See Also:
- Constant Field Values
NavigationContext
public NavigationContext(@NotNull
java.lang.String currentUrl,
@NotNull
DecoratedNavObject navObject,
@Nullable
java.lang.String jobUrl,
@Nullable
java.lang.String chainUrl)
getNavObject
public DecoratedNavObject getNavObject()
getCurrentObject
public DecoratedNavObject getCurrentObject()
getCurrentKey
public java.lang.String getCurrentKey()
getJobUrl
public java.lang.String getJobUrl(DecoratedNavObject job)
getChainUrl
public java.lang.String getChainUrl(DecoratedNavObject chain)
getCurrentUrl
@Nullable
public java.lang.String getCurrentUrl()
isValid
protected boolean isValid(@Nullable
java.lang.String possibleUrl,
boolean chain)
getDefaultChainUrl
protected java.lang.String getDefaultChainUrl(java.lang.String key)
getDefaultJobUrl
protected java.lang.String getDefaultJobUrl(java.lang.String key)
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.