Package com.uc4.api.systemoverview
Class QueueListItem
- java.lang.Object
-
- com.uc4.api.systemoverview.QueueListItem
-
public class QueueListItem extends java.lang.Object
This class represents a single row in the queue list of the system overview.
-
-
Constructor Summary
Constructors Constructor Description QueueListItem(org.w3c.dom.Element row)
Creates a newQueueListItem
from anElement
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHoldCount()
java.lang.String
getId()
int
getMaxSlots()
java.lang.String
getName()
int
getPriority()
QueueStatus
getStatus()
int
getUsedCount()
int
getWaitingCount()
boolean
isConsiderERT()
Returns true if the consider ERT option is enabled.java.lang.String
toString()
-
-
-
Method Detail
-
isConsiderERT
public boolean isConsiderERT()
Returns true if the consider ERT option is enabled.- Returns:
- true if consider ERT is enabled, false if disabled.
-
getMaxSlots
public int getMaxSlots()
- Returns:
- Maximum number of slots or
-1
if no limit is set.
-
getId
public java.lang.String getId()
- Returns:
- ID of the Queue
-
getName
public java.lang.String getName()
- Returns:
- Client and Name of the Queue
-
getPriority
public int getPriority()
- Returns:
- Priority of the Queue
-
getStatus
public QueueStatus getStatus()
- Returns:
- Status of the Queue (Green, Yellow or Red)
-
getUsedCount
public int getUsedCount()
- Returns:
- Number of used slots.
-
getHoldCount
public int getHoldCount()
- Returns:
- Hold Count
-
getWaitingCount
public int getWaitingCount()
- Returns:
- Waiting Count
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-