Modifier and Type | Class and Description |
---|---|
static class |
BulkSimpleMessage.BulkSimpleMessageBuilder |
Modifier and Type | Method and Description |
---|---|
static BulkSimpleMessage.BulkSimpleMessageBuilder |
builder() |
boolean |
equals(Object obj) |
Object[] |
getArgs() |
String |
getKey() |
String |
getTranslation() |
int |
hashCode() |
String |
toString() |
static BulkSimpleMessage |
withKeyAndArgs(BulkSimpleMessageTypes type,
String key,
Object... args)
Creates a new SimpleMessage with the given key and arguments.
|
static BulkSimpleMessage |
withKeyAndArgs(String key,
Object... args) |
static BulkSimpleMessage |
withTranslation(String translation)
Used when a message only has a translated string at creation time, usually in English.
|
public static BulkSimpleMessage.BulkSimpleMessageBuilder builder()
public static BulkSimpleMessage withKeyAndArgs(String key, Object... args)
public static BulkSimpleMessage withKeyAndArgs(BulkSimpleMessageTypes type, String key, Object... args)
public static BulkSimpleMessage withTranslation(String translation)
Use of this method is discouraged - try to use withKeyAndArgs(String, Object...)
whenever possible.
public String getKey()
public Object[] getArgs()
public String getTranslation()
getTranslation
in interface Message
Copyright © 2003–2016 Atlassian. All rights reserved.
View cookie preferences