Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class AgentGroup

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.AgentGroup
All Implemented Interfaces:
XmlSerializable, IStatisticState, IStatisticStatus, Printable

public final class AgentGroup
extends java.lang.Object
implements IStatisticStatus

Contains information about an AgentGroup in the Genesys Configuration Layer.

Details may be found here - Object Statuses or Group Status in the Stat Server User's Guide.


Constructor Summary
AgentGroup()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 int getAgentCount()
          Number of Agents.
 AgentStatusesCollection getAgents()
           
 java.lang.String getGroupId()
          Agent Group ID in CME.
 StatisticObjectType getObjectType()
           
 int getStatus()
          Current group status.
 long getTime()
          Time when this status became active.
 int hashCode()
           
 void setAgents(AgentStatusesCollection agentStatuses)
           
 void setGroupId(java.lang.String agentGroupId)
           
 void setStatus(int groupStatus)
           
 void setTime(int timeActive)
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 org.w3c.dom.Element toXml(org.w3c.dom.Element element, XmlUtil util)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentGroup

public AgentGroup()
Method Detail

getObjectType

public StatisticObjectType getObjectType()
Specified by:
getObjectType in interface IStatisticState

getAgentCount

public int getAgentCount()
Number of Agents.

Returns:
number of Agents

getAgents

public AgentStatusesCollection getAgents()

getGroupId

public java.lang.String getGroupId()
Agent Group ID in CME.

Returns:
Agent Group ID in CME

getStatus

public int getStatus()
Current group status.

Returns:
Current group status

getTime

public long getTime()
Time when this status became active.

Returns:
time when this status became active

setGroupId

public void setGroupId(java.lang.String agentGroupId)

setStatus

public void setStatus(int groupStatus)

setTime

public void setTime(int timeActive)

setAgents

public void setAgents(AgentStatusesCollection agentStatuses)

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Element element,
                                 XmlUtil util)
                          throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
toXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

fromXml

public void fromXml(org.w3c.dom.Element element,
                    XmlUtil util)
             throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
fromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)
Specified by:
toString in interface Printable

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.