|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.studio.RemoteProjectsStorage
public class RemoteProjectsStorage
Persist a remote project in the user's session.
Constructor Summary | |
---|---|
RemoteProjectsStorage(javax.servlet.http.HttpSession session)
|
Method Summary | |
---|---|
static RemoteProjectsStorage |
createFromHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Create a storage from the session attached to the servlet request. |
RemoteProjects |
pop()
Return and remove the remote projects instance from the user's session. |
void |
push(RemoteProjects remoteProjects)
Store the given remoteProjects in the user's session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteProjectsStorage(@Nullable javax.servlet.http.HttpSession session)
Method Detail |
---|
@Nullable public static RemoteProjectsStorage createFromHttpServletRequest(@Nonnull javax.servlet.http.HttpServletRequest request)
request
- the request from which the session should be used; not null
null
if there is no session existingpublic void push(@Nonnull RemoteProjects remoteProjects)
remoteProjects
- the remote projects to be stored; not null
@Nullable public RemoteProjects pop()
null
if there is none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |