Class GetActionsReply

java.lang.Object
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:
  • Method Details

    • 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.