StatusMessageService

public interface StatusMessageService

Methods

critical

void critical(String text, String moduleName)

critical

void critical(String text, String moduleName, DateTime timeout)

debug

void debug(String text, String moduleName)

debug

void debug(String text, String moduleName, DateTime timeout)

error

void error(String text, String moduleName)

error

void error(String text, String moduleName, DateTime timeout)

getActiveMessages

List<StatusMessage> getActiveMessages()

getAllMessages

List<StatusMessage> getAllMessages()

getNotificationRules

List<NotificationRule> getNotificationRules()

info

void info(String text, String moduleName)

info

void info(String text, String moduleName, DateTime timeout)

postMessage

void postMessage(StatusMessage message)

postMessage

void postMessage(String text, String moduleName, Level level)

postMessage

void postMessage(String text, String moduleName, Level level, DateTime timeout)

removeMessage

void removeMessage(StatusMessage message)

removeNotificationRule

void removeNotificationRule(String id)

removeNotificationRule

void removeNotificationRule(Long id)

saveNotificationRules

void saveNotificationRules(List<NotificationRule> notificationRules)

saveRule

void saveRule(NotificationRule notificationRule)

warn

void warn(String text, String moduleName)

warn

void warn(String text, String moduleName, DateTime timeout)