|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IssueNavigatorType>
com.atlassian.jira.web.action.util.navigator.IssueNavigatorType
public enum IssueNavigatorType
Represents the tab's on the issue navigator whose status needs to be saved into the session.
| Enum Constant Summary | |
|---|---|
ADVANCED
|
|
SIMPLE
|
|
| Method Summary | |
|---|---|
static void |
clearCookie(javax.servlet.http.HttpServletRequest request)
Remove any tab session state from the session. |
static IssueNavigatorType |
getFromCookie(javax.servlet.http.HttpServletRequest request)
Return the tab currently stored in the session. |
String |
getModeName()
|
static IssueNavigatorType |
getTypeFromString(String name)
Return the navigator tab for the specified string. |
static void |
setInCookie(javax.servlet.http.HttpServletResponse response,
IssueNavigatorType type)
Store the passed tab in the passed session. |
static IssueNavigatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IssueNavigatorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IssueNavigatorType SIMPLE
public static final IssueNavigatorType ADVANCED
| Method Detail |
|---|
public static IssueNavigatorType[] values()
for (IssueNavigatorType c : IssueNavigatorType.values()) System.out.println(c);
public static IssueNavigatorType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getModeName()
public static IssueNavigatorType getFromCookie(javax.servlet.http.HttpServletRequest request)
request - the request the tab cookie is stored in.
IllegalArgumentException - if the passed session is null.
public static void setInCookie(javax.servlet.http.HttpServletResponse response,
IssueNavigatorType type)
response - the response to store cookie tab in. May not be null.type - the tab to store in the cookie.
IllegalArgumentException - if either session or tab is null.public static void clearCookie(javax.servlet.http.HttpServletRequest request)
request - the request to remove tab state cookie from.
IllegalArgumentException - if the session is null.public static IssueNavigatorType getTypeFromString(String name)
name - the name of the tab to return.
IllegalArgumentException - if the name is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||