public interface AlertProvider
Modifier and Type | Method and Description |
---|---|
void |
configureAlert(PrinterAlert alert)
Configures an alert to be triggered when the alert's condition occurs or becomes resolved.
|
void |
configureAlerts(java.util.List<PrinterAlert> alerts)
Configures a list of alerts to be triggered when their conditions occur or become resolved.
|
java.util.List<PrinterAlert> |
getConfiguredAlerts()
A list of objects detailing the alert configuration of a printer.
|
void |
removeAlert(PrinterAlert alert)
Removes a configured alert from a printer.
|
void |
removeAllAlerts()
Removes all alerts currently configured on a printer.
|
java.util.List<PrinterAlert> getConfiguredAlerts() throws ConnectionException, ZebraIllegalArgumentException
ConnectionException
ZebraIllegalArgumentException
void configureAlert(PrinterAlert alert) throws ConnectionException
alert
- the alert to trigger when it's condition occurs or becomes resolved.ConnectionException
void configureAlerts(java.util.List<PrinterAlert> alerts) throws ConnectionException
alerts
- the list of alerts to trigger when their conditions occur or become resolved.ConnectionException
void removeAlert(PrinterAlert alert) throws ConnectionException
alert
- to be removed from the configurationConnectionException
void removeAllAlerts() throws ConnectionException
ConnectionException
© 2017 ZIH Corp. All Rights Reserved.