com.atlassian.bamboo.build
Class CookieCutterImpl
java.lang.Object
com.atlassian.bamboo.build.CookieCutterImpl
- All Implemented Interfaces:
- CookieCutter
- Direct Known Subclasses:
- FilterController
public class CookieCutterImpl
- extends java.lang.Object
- implements CookieCutter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILTER_COOKIE_AGE
public static int FILTER_COOKIE_AGE
CookieCutterImpl
public CookieCutterImpl()
saveValueInCookie
public void saveValueInCookie(java.lang.String key,
java.lang.String value)
- Specified by:
saveValueInCookie
in interface CookieCutter
getValueFromCookie
@NotNull
public java.lang.String getValueFromCookie(java.lang.String key)
- Specified by:
getValueFromCookie
in interface CookieCutter
getValueFromCookie
public java.lang.String getValueFromCookie(java.lang.String key,
java.lang.String defaultValue)
- Specified by:
getValueFromCookie
in interface CookieCutter
getValueFromConglomerateCookie
public java.lang.String getValueFromConglomerateCookie(java.lang.String cookieKey,
java.lang.String key)
- Retrieve variable from AJS conglomerate cookie.
AJS saves its cookie variables in single cookie as key=value, '|' char is the separator.
- Specified by:
getValueFromConglomerateCookie
in interface CookieCutter
- Parameters:
cookieKey
- key of the cookiekey
- key of a variable
- Returns:
- value or null if not found
Copyright © 2011 Atlassian. All Rights Reserved.