public enum AlertDestination extends Enum<AlertDestination>
Enum Constant and Description |
---|
BLUETOOTH
Alert Destination 'Bluetooth'
|
EMAIL
Alert Destination 'E-Mail'
|
HTTP
Alert Destination 'HTTP-POST'
|
PARALLEL
Alert Destination 'Parallel'
|
SDK
Alert Destination 'SDK'
|
SERIAL
Alert Destination 'Serial'
|
SNMP
Alert Destination 'SNMP'
|
TCP
Alert Destination 'TCP'
|
UDP
Alert Destination 'UDP'
|
USB
Alert Destination 'USB'
|
Modifier and Type | Method and Description |
---|---|
static AlertDestination |
createAlertDestination(String destination)
Creates an AlertDestination based on the
destination . |
String |
getDestinationAsSGDString()
Returns the String representation of the alert destination.
|
static AlertDestination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertDestination SERIAL
public static final AlertDestination PARALLEL
public static final AlertDestination EMAIL
public static final AlertDestination TCP
public static final AlertDestination UDP
public static final AlertDestination SNMP
public static final AlertDestination USB
public static final AlertDestination HTTP
public static final AlertDestination BLUETOOTH
public static final AlertDestination SDK
public static AlertDestination[] values()
for (AlertDestination c : AlertDestination.values()) System.out.println(c);
public static AlertDestination valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getDestinationAsSGDString()
public static AlertDestination createAlertDestination(String destination) throws ZebraIllegalArgumentException
destination
. If the destination
is invalid a
SettingsException will be thrown.destination
- Name of one of the values of AlertDestination.destination
ZebraIllegalArgumentException
- if destination
is not a valid alert destination.
© 2017 ZIH Corp. All Rights Reserved.