NotificationRule

public class NotificationRule

A notification rule persisted in the database. Represents a rule for sending out a single notification. Contains information about this notification’s recipient and the ActionType representing a method used for notifying the recipient.

Constructors

NotificationRule

public NotificationRule()

NotificationRule

public NotificationRule(String recipient, ActionType actionType, Level level, String moduleName)

Methods

getActionType

public ActionType getActionType()

getId

public Long getId()

getLevel

public Level getLevel()

getModuleName

public String getModuleName()

getRecipient

public String getRecipient()

matches

public boolean matches(StatusMessage message)

setActionType

public void setActionType(ActionType actionType)

setId

public void setId(Long id)

setLevel

public void setLevel(Level level)

setModuleName

public void setModuleName(String moduleName)

setRecipient

public void setRecipient(String recipient)