Package com.uc4.api
Enum QueueStatus
- java.lang.Object
-
- java.lang.Enum<QueueStatus>
-
- com.uc4.api.QueueStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<QueueStatus>
public enum QueueStatus extends java.lang.Enum<QueueStatus>
Status of a Queue object.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueueStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static QueueStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREEN
public static final QueueStatus GREEN
The Queue's execution of the objects it includes is active. The max. Queue slots must show a value above 0.
-
RED
public static final QueueStatus RED
Object execution is deactivated. No further objects of the Queue will start.
-
YELLOW
public static final QueueStatus YELLOW
The Queue object's max. slots are "0" - i.e. it is not possible to start tasks. This status depends on the setting specified in the "Attributes" tab and on the modified Queue slots.
-
-
Method Detail
-
values
public static QueueStatus[] 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 (QueueStatus c : QueueStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueStatus 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
-
-