Package cx.syndeo.script
Interface Messages
public interface Messages
An interface for passing message strings by key.
-
Method Summary
-
Method Details
-
clear
void clear()Removes all stored messages. -
set
Sets or replaces the message for the given key.- Parameters:
key- the message keyvalue- the message value
-
get
Retrieves the message value for the given key.- Parameters:
key- the message key- Returns:
- the value, or
nullif not present
-
getAll
Returns all stored messages.- Returns:
- a map of all messages; never null
-