public final class MessageResponder extends Object
Constructor and Description |
---|
MessageResponder(SoyTemplateRendererProvider rendererProvider,
com.atlassian.adapter.jackson.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
String |
respond(Iterable<PopUpMessage> messages,
URI redirect,
JiraWebActionSupport action,
String title)
Guarantees that given messages will be shown to the user and user will be be able to follow the redirect.
|
public MessageResponder(SoyTemplateRendererProvider rendererProvider, com.atlassian.adapter.jackson.ObjectMapper objectMapper)
public final String respond(Iterable<PopUpMessage> messages, URI redirect, JiraWebActionSupport action, String title)
messages
- information for the user about the outcome of the actionredirect
- redirects to the next page the user should see; SHOULD NOT contain personal informationaction
- performed actiontitle
- human-readable, short description of the actionAction
view namesCopyright © 2002-2015 Atlassian. All Rights Reserved.