Package esmska.data
Enum Queue.Events
- java.lang.Object
-
- java.lang.Enum<Queue.Events>
-
- esmska.data.Queue.Events
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Queue.Events>
- Enclosing class:
- Queue
public static enum Queue.Events extends java.lang.Enum<Queue.Events>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEW_SMS_READYExisting sms is now ready for sending.QUEUE_CLEAREDAll sms's removed.QUEUE_PAUSEDQueue has been paused.QUEUE_RESUMEDQueue has been resumed.SENDING_SMSExisting sms is now being sent.SMS_ADDEDNew sms added.SMS_POSITION_CHANGEDThe postition of sms in the queue changed.SMS_REMOVEDExisting sms removed.SMS_SENDING_FAILEDExisting sms failed to be sent.SMS_SENTExisting sms has been sent.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Queue.EventsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Queue.Events[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMS_ADDED
public static final Queue.Events SMS_ADDED
New sms added. Event value: added sms.
-
SMS_REMOVED
public static final Queue.Events SMS_REMOVED
Existing sms removed. Event value: removed sms.
-
QUEUE_CLEARED
public static final Queue.Events QUEUE_CLEARED
All sms's removed. Event value: null.
-
SMS_POSITION_CHANGED
public static final Queue.Events SMS_POSITION_CHANGED
The postition of sms in the queue changed. Event value: moved sms.
-
NEW_SMS_READY
public static final Queue.Events NEW_SMS_READY
Existing sms is now ready for sending. Event value: ready sms.
-
SENDING_SMS
public static final Queue.Events SENDING_SMS
Existing sms is now being sent. Event value: sms being sent.
-
SMS_SENT
public static final Queue.Events SMS_SENT
Existing sms has been sent. Event value: sent sms.
-
SMS_SENDING_FAILED
public static final Queue.Events SMS_SENDING_FAILED
Existing sms failed to be sent. Event value: failed sms.
-
QUEUE_PAUSED
public static final Queue.Events QUEUE_PAUSED
Queue has been paused. Event value: null.
-
QUEUE_RESUMED
public static final Queue.Events QUEUE_RESUMED
Queue has been resumed. Event value: null.
-
-
Method Detail
-
values
public static Queue.Events[] 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 (Queue.Events c : Queue.Events.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Queue.Events 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
-
-