com.atlassian.jira.plugin.issuetabpanel
Class GetActionsRequest

java.lang.Object
  extended by com.atlassian.jira.plugin.issuetabpanel.GetActionsRequest

@PublicApi
@Immutable
public final class GetActionsRequest
extends Object

Request object used in the IssueTabPanel2 SPI.

Since:
v5.0
See Also:
IssueTabPanel2

Constructor Summary
GetActionsRequest(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser, boolean asynchronous)
           
 
Method Summary
 boolean isAnonymous()
           
 boolean isAsynchronous()
           
 Issue issue()
           
 com.atlassian.crowd.embedded.api.User remoteUser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetActionsRequest

@Internal
public GetActionsRequest(@Nonnull
                                  Issue issue,
                                  @Nullable
                                  com.atlassian.crowd.embedded.api.User remoteUser,
                                  boolean asynchronous)
Method Detail

issue

@Nonnull
public Issue issue()
Returns:
the Issue on which the panel will be displayed

remoteUser

@Nullable
public com.atlassian.crowd.embedded.api.User remoteUser()
Returns:
the User that is viewing the page, or null for an anonymous user

isAnonymous

public boolean isAnonymous()
Returns:
true iff the user that is viewing the page is anonymous (i.e. not logged in)

isAsynchronous

public boolean isAsynchronous()
Returns:
true if the actions are being loaded asynchronously, e.g. using an AJAX request


Copyright © 2002-2012 Atlassian. All Rights Reserved.