Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.common.modules.notification.enums
Enum XNotificationSetting

java.lang.Object
  extended by java.lang.Enum<XNotificationSetting>
      extended by waggle.common.modules.notification.enums.XNotificationSetting

All Implemented Interfaces:
Serializable, Comparable<XNotificationSetting>

public enum XNotificationSetting
extends Enum<XNotificationSetting>

XNotificationSetting. Notification settings.


Enum Constant Summary
AUDIBLE
          online notification via audible.
DIGEST
          notification via digest.
EMAIL
          offline notification via email.
VISUAL
          online notification via visual.

 

Method Summary
static XNotificationSetting valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XNotificationSetting[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

VISUAL

public static final XNotificationSetting VISUAL
online notification via visual.

AUDIBLE

public static final XNotificationSetting AUDIBLE
online notification via audible.

DIGEST

public static final XNotificationSetting DIGEST
notification via digest.

EMAIL

public static final XNotificationSetting EMAIL
offline notification via email.

Method Detail

values

public static XNotificationSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XNotificationSetting c : XNotificationSetting.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XNotificationSetting valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.