@PublicApi
public interface RuleMessageBuilder
Modifier and Type | Method and Description |
---|---|
RuleMessage |
build()
Build the rule message
|
RuleMessageCache |
getCache()
Get the cache contained in the builder
|
RuleMessageBuilder |
putAllValues(Map<String,String> data)
Add a map of key/value pairs to the message.
|
RuleMessageBuilder |
putValue(String key,
String value)
Add a a key/value pair to the message.
|
RuleMessageBuilder putValue(@Nonnull String key, @Nonnull String value)
key
- a non-null non-empty keyvalue
- a non-null valueRuleMessageBuilder putAllValues(@Nonnull Map<String,String> data)
data
- the key/value pairs. See put(String, Object) for the requirements of each key/value pairRuleMessageCache getCache()
RuleMessage build()
Copyright © 2019 Atlassian. All rights reserved.