public enum SubscriptionChannelTypeEnum extends Enum<SubscriptionChannelTypeEnum>
| Enum Constant and Description |
|---|
EMAIL
Display: Email
Code Value: email The channel is executed by sending an email to the email addressed in the URI (which must be a mailto:). |
MESSAGE
Display: Message
Code Value: message The channel is executed by sending a message (e.g. |
REST_HOOK
Display: Rest Hook
Code Value: rest-hook The channel is executed by making a post to the URI. |
SMS
Display: SMS
Code Value: sms The channel is executed by sending an SMS message to the phone number identified in the URL (tel:). |
WEBSOCKET
Display: Websocket
Code Value: websocket The channel is executed by sending a packet across a web socket connection maintained by the client. |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<SubscriptionChannelTypeEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
SubscriptionChannelType
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionChannelTypeEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static SubscriptionChannelTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionChannelTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionChannelTypeEnum REST_HOOK
public static final SubscriptionChannelTypeEnum WEBSOCKET
public static final SubscriptionChannelTypeEnum EMAIL
public static final SubscriptionChannelTypeEnum SMS
public static final SubscriptionChannelTypeEnum MESSAGE
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<SubscriptionChannelTypeEnum> VALUESET_BINDER
public static SubscriptionChannelTypeEnum[] values()
for (SubscriptionChannelTypeEnum c : SubscriptionChannelTypeEnum.values()) System.out.println(c);
public static SubscriptionChannelTypeEnum 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 static SubscriptionChannelTypeEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.