Class GetActionsReply
java.lang.Object
com.atlassian.jira.plugin.issuetabpanel.GetActionsReply
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 Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<IssueAction> actions()static GetActionsReplycreate(IssueAction... actions) Creates a new GetActionsReply containing the provided actions.static GetActionsReplycreate(Iterable<? extends IssueAction> actions) Creates a new GetActionsReply containing the provided actions.
-
Method Details
-
create
Creates a new GetActionsReply containing the provided actions.- Parameters:
actions- the IssueAction that the response will contain- Returns:
- a new GetActionsReply
-
create
Creates a new GetActionsReply containing the provided actions.- Parameters:
actions- the IssueActions that the response will contain- Returns:
- a new GetActionsReply
-
actions
- Returns:
- a list of IssueAction.
-