Enum NotificationType
- java.lang.Object
-
- java.lang.Enum<NotificationType>
-
- com.caplin.motif.fx.ret.orders.notification.NotificationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NotificationType>
public enum NotificationType extends java.lang.Enum<NotificationType>
Notification types representing action failures.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATE_FAIL
ACTIVATED
Deprecated.ACTIVATING
Deprecated.CANCEL
Deprecated.CANCELLED
Deprecated.CANCELLED_FAIL
CANCELLING
Deprecated.COMPLETED
Deprecated.DEACTIVATE
Deprecated.DEACTIVATED
Deprecated.DEACTIVATED_FAIL
DEACTIVATING
Deprecated.DELETED
Deprecated.DONE
Deprecated.DORMANT
Deprecated.EXPIRED
Deprecated.NEGOTIATING
Deprecated.PARENT_ACTIVE
Deprecated.REJECT
REJECTED
Deprecated.TRADING
Deprecated.UNACCEPTED
Deprecated.UNKNOWN
Deprecated.WAITING
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NotificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REJECT
public static final NotificationType REJECT
-
ACTIVATE_FAIL
public static final NotificationType ACTIVATE_FAIL
-
DEACTIVATED_FAIL
public static final NotificationType DEACTIVATED_FAIL
-
CANCELLED_FAIL
public static final NotificationType CANCELLED_FAIL
-
PARENT_ACTIVE
@Deprecated public static final NotificationType PARENT_ACTIVE
Deprecated.
-
TRADING
@Deprecated public static final NotificationType TRADING
Deprecated.
-
WAITING
@Deprecated public static final NotificationType WAITING
Deprecated.
-
UNACCEPTED
@Deprecated public static final NotificationType UNACCEPTED
Deprecated.
-
UNKNOWN
@Deprecated public static final NotificationType UNKNOWN
Deprecated.
-
ACTIVATED
@Deprecated public static final NotificationType ACTIVATED
Deprecated.
-
ACTIVATING
@Deprecated public static final NotificationType ACTIVATING
Deprecated.
-
DEACTIVATE
@Deprecated public static final NotificationType DEACTIVATE
Deprecated.
-
DEACTIVATING
@Deprecated public static final NotificationType DEACTIVATING
Deprecated.
-
DEACTIVATED
@Deprecated public static final NotificationType DEACTIVATED
Deprecated.
-
DELETED
@Deprecated public static final NotificationType DELETED
Deprecated.
-
DONE
@Deprecated public static final NotificationType DONE
Deprecated.
-
DORMANT
@Deprecated public static final NotificationType DORMANT
Deprecated.
-
EXPIRED
@Deprecated public static final NotificationType EXPIRED
Deprecated.
-
NEGOTIATING
@Deprecated public static final NotificationType NEGOTIATING
Deprecated.
-
CANCEL
@Deprecated public static final NotificationType CANCEL
Deprecated.
-
CANCELLED
@Deprecated public static final NotificationType CANCELLED
Deprecated.
-
CANCELLING
@Deprecated public static final NotificationType CANCELLING
Deprecated.
-
COMPLETED
@Deprecated public static final NotificationType COMPLETED
Deprecated.
-
REJECTED
@Deprecated public static final NotificationType REJECTED
Deprecated.
-
-
Method Detail
-
values
public static NotificationType[] 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 (NotificationType c : NotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-