|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mirth.connect.server.userutil.AlertSender
public class AlertSender
Allows users to dispatch error events which can be alerted on.
| Constructor Summary | |
|---|---|
AlertSender(ImmutableConnectorMessage connectorMessage)
Instantiates a new AlertSender. |
|
AlertSender(java.lang.String channelId)
Instantiates a new AlertSender. |
|
| Method Summary | |
|---|---|
void |
sendAlert(java.lang.String errorMessage)
Dispatches an error event that can be alerted on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlertSender(java.lang.String channelId)
channelId - The ID of the channel to associate dispatched alert events with.public AlertSender(ImmutableConnectorMessage connectorMessage)
connectorMessage - The connector message to associate dispatched alert events with.| Method Detail |
|---|
public void sendAlert(java.lang.String errorMessage)
errorMessage - A custom error message to include with the error event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||