Package church.i18n.processing.storage
Interface MessageStorageAppender
- All Known Subinterfaces:
MessageStorage,StorageSupplier
- All Known Implementing Classes:
ThreadIndependentStorage,ThreadLocalStorage
public interface MessageStorageAppender
A storage for messages user needs to be notified, however they should not interrupt program
execution.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessages(@NotNull String processingId, @NotNull ProcessingMessage... messages) Add messages into the thread independent storage.voidaddMessages(@NotNull String processingId, @NotNull List<ProcessingMessage> messages) Add messages into the thread independent storage.
-
Method Details
-
addMessages
void addMessages(@NotNull @NotNull String processingId, @NotNull @NotNull ProcessingMessage... messages) Add messages into the thread independent storage.- Parameters:
processingId- Processing identifier, to associate messages with.messages- Messages to append.
-
addMessages
void addMessages(@NotNull @NotNull String processingId, @NotNull @NotNull List<ProcessingMessage> messages) Add messages into the thread independent storage.- Parameters:
processingId- Processing identifier, to associate messages with.messages- Messages to append.
-