public final class QueueDetails extends Object implements ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
QueueDetails.Provider
Provider class for QueueDetails stanza extensions.
|
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza extension.
|
static String |
NAMESPACE
Namespace of the stanza extension.
|
Constructor and Description |
---|
QueueDetails() |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
int |
getUserCount()
Returns the number of users currently in the queue that are waiting to
be routed to an agent.
|
Set<QueueUser> |
getUsers()
Returns the set of users in the queue that are waiting to
be routed to an agent (as QueueUser objects).
|
String |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public QueueDetails()
public int getUserCount()
public Set<QueueUser> getUsers()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement