com.atlassian.jira.plugin.issuetabpanel
Class GetActionsReply

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

@PublicApi
@Immutable
public final class GetActionsReply
extends Object

Reply object used in the IssueTabPanel2 SPI. This class is immutable as long as the IssueActions that it contains are also immutable.

Example usage:

     return GetActionsReply.create(myPluginActions);
 

Since:
v5.0
See Also:
IssueTabPanel2

Method Summary
 com.google.common.collect.ImmutableList<IssueAction> actions()
           
static GetActionsReply create(IssueAction... actions)
          Creates a new GetActionsReply containing the provided actions.
static GetActionsReply create(Iterable<? extends IssueAction> actions)
          Creates a new GetActionsReply containing the provided actions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static GetActionsReply create(@Nullable
                                     IssueAction... actions)
Creates a new GetActionsReply containing the provided actions.

Parameters:
actions - the IssueAction that the response will contain
Returns:
a new GetActionsReply

create

public static GetActionsReply create(@Nullable
                                     Iterable<? extends IssueAction> actions)
Creates a new GetActionsReply containing the provided actions.

Parameters:
actions - the IssueActions that the response will contain
Returns:
a new GetActionsReply

actions

@Nullable
@Internal
public com.google.common.collect.ImmutableList<IssueAction> actions()
Returns:
a list of IssueAction.


Copyright © 2002-2013 Atlassian. All Rights Reserved.