Class AlertSender
java.lang.Object
com.mirth.connect.server.userutil.AlertSender
Allows users to dispatch error events which can be alerted on.
-
Constructor Summary
ConstructorsConstructorDescriptionAlertSender(ImmutableConnectorMessage connectorMessage) Instantiates a new AlertSender.AlertSender(String channelId) Instantiates a new AlertSender. -
Method Summary
-
Constructor Details
-
AlertSender
Instantiates a new AlertSender.- Parameters:
channelId- The ID of the channel to associate dispatched alert events with.
-
AlertSender
Instantiates a new AlertSender.- Parameters:
connectorMessage- The connector message to associate dispatched alert events with.
-
-
Method Details
-
sendAlert
Dispatches an error event that can be alerted on.- Parameters:
errorMessage- A custom error message to include with the error event.
-