Class QueueOverview
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.packet.QueueOverview
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class QueueOverview extends java.lang.Object implements ExtensionElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueueOverview.Provider
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT_NAME
Element name of the stanza extension.static java.lang.String
NAMESPACE
Namespace of the stanza extension.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAverageWaitTime()
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.java.util.Date
getOldestEntry()
WorkgroupQueue.Status
getStatus()
int
getUserCount()
java.lang.String
toXML(XmlEnvironment enclosingEnvironment)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static java.lang.String ELEMENT_NAME
Element name of the stanza extension.
-
NAMESPACE
public static java.lang.String NAMESPACE
Namespace of the stanza extension.
-
-
Method Detail
-
getAverageWaitTime
public int getAverageWaitTime()
-
getOldestEntry
public java.util.Date getOldestEntry()
-
getUserCount
public int getUserCount()
-
getStatus
public WorkgroupQueue.Status getStatus()
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public java.lang.String toXML(XmlEnvironment enclosingEnvironment)
-
-