com.atlassian.jira.plugin.issuetabpanel
Class ShowPanelRequest

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

@PublicApi
@Immutable
public final class ShowPanelRequest
extends Object

Request object used in the IssueTabPanel2 SPI.

Since:
v5.0
See Also:
IssueTabPanel2

Constructor Summary
ShowPanelRequest(Issue issue, com.atlassian.crowd.embedded.api.User remoteUser)
           
 
Method Summary
 boolean isAnonymous()
           
 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

ShowPanelRequest

@Internal
public ShowPanelRequest(@Nonnull
                                 Issue issue,
                                 @Nullable
                                 com.atlassian.crowd.embedded.api.User remoteUser)
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)


Copyright © 2002-2012 Atlassian. All Rights Reserved.