public class BulkSimpleMessage extends Object implements Message<BulkSimpleMessage>
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()
getKey
in interface Message<BulkSimpleMessage>
public Object[] getArgs()
getArgs
in interface Message<BulkSimpleMessage>
public String getTranslation()
getTranslation
in interface Message<BulkSimpleMessage>
Copyright © 2003–2021 Atlassian. All rights reserved.