| Package | Description |
|---|---|
| com.atlassian.sal.api.auth | |
| com.atlassian.sal.api.message | |
| com.atlassian.sal.api.search | |
| com.atlassian.sal.api.upgrade |
| Constructor and Description |
|---|
Error(Message message) |
Failure(Message message) |
Success(Message message,
Principal principal)
Construct a success result for a particular principal with a result message.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
I18nResolver.createMessage(String key,
Serializable... arguments)
Creates an instance of Message.
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
MessageCollection.getMessages() |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageCollection.addMessage(Message message)
Adds a message to the collection
|
String |
I18nResolver.getText(Locale locale,
Message message)
Given a
Message this method:
returns the i18ned text formatted with the message arguments if the message key can be resolved.
Otherwise, returns the message key (formatted with the message arguments).
|
String |
I18nResolver.getText(Message message)
Given a
Message this method:
returns the i18ned text formatted with the message arguments if the message key can be resolved.
Otherwise, returns the message key (formatted with the message arguments).
Uses the default locale. |
| Modifier and Type | Method and Description |
|---|---|
void |
MessageCollection.addAll(List<Message> messages)
Adds all messages to the collection
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
SearchResults.getErrors() |
| Constructor and Description |
|---|
SearchResults(List<Message> errors)
Constructs search results that contained errors
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Message> |
PluginUpgradeTask.doUpgrade()
Perform the upgrade task.
|
List<Message> |
PluginUpgradeManager.upgrade()
Finds and upgrades all plugins, that implement PluginUpgradeTask
|
Copyright © 2018 Atlassian. All rights reserved.