|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.contactcenters.app.AbstractContactCenterInfo
public abstract class AbstractContactCenterInfo
Provides default implementations for
some methods in ContactCenterInfo
.
Implemented methods giving strings return
null,
methods giving integers return
0, and methods giving properties
return empty maps.
Method getNumContactTypesWithSegments()
and other similar methods return the
number of contact types plus the number
of segments regrouping contact types.
Constructor Summary | |
---|---|
AbstractContactCenterInfo()
|
Method Summary | |
---|---|
String |
getAgentGroupName(int i)
Returns the name associated with the agent group identifier i. |
Map<String,String> |
getAgentGroupProperties(int i)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for agent groups instead of contact types. |
String |
getAgentGroupSegmentName(int i)
Returns the name associated with the agent group segment i, where i is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumAgentGroupSegments() . |
Map<String,String> |
getAgentGroupSegmentProperties(int i)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for agent group segments instead of contact types. |
String |
getContactTypeName(int k)
Returns the name associated with the contact type k, where k is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumContactTypes() . |
Map<String,String> |
getContactTypeProperties(int k)
Returns the properties associated with contact type k. |
String |
getContactTypeSegmentName(int k)
Returns the name associated with the contact type segment k, where k is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumContactTypeSegments() . |
Map<String,String> |
getContactTypeSegmentProperties(int k)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for contact type segments instead of contact types. |
String |
getInContactTypeSegmentName(int k)
Returns the name associated with the inbound contact type segment k, where k is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumInContactTypeSegments() . |
Map<String,String> |
getInContactTypeSegmentProperties(int k)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for inbound contact type segments instead of contact types. |
String |
getMainPeriodName(int mp)
Returns the name corresponding to the main period mp. |
String |
getMainPeriodSegmentName(int mp)
Returns the name associated with the main period segment mp, where mp is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumMainPeriodSegments() . |
String |
getMatrixOfAWTName(int m)
Returns the name associated with the matrix of AWTs with index m. |
int |
getNumAgentGroupSegments()
Returns the number of user-defined segments regrouping agent groups. |
int |
getNumAgentGroupsWithSegments()
Returns the number of agent groups including segments regrouping several agent groups. |
int |
getNumContactTypeSegments()
Returns the number of user-defined segments regrouping contact types. |
int |
getNumContactTypesWithSegments()
Returns the number of contact types including segments regrouping several contact types. |
int |
getNumInContactTypeSegments()
Returns the number of user-defined segments regrouping inbound contact types. |
int |
getNumInContactTypesWithSegments()
Returns the number of inbound contact types including segments regrouping several inbound contact types. |
int |
getNumMainPeriodSegments()
Returns the number of user-defined segments regrouping main periods. |
int |
getNumMainPeriodsWithSegments()
Returns the number of main periods including segments regrouping several main periods. |
int |
getNumOutContactTypeSegments()
Returns the number of user-defined segments regrouping outbound contact types. |
int |
getNumOutContactTypesWithSegments()
Returns the number of outbound contact types including segments regrouping several outbound contact types. |
int |
getNumWaitingQueueSegments()
Returns the number of user-defined segments regrouping waiting queues. |
int |
getNumWaitingQueuesWithSegments()
Returns the number of waiting queues including segments regrouping several waiting queues. |
String |
getOutContactTypeSegmentName(int k)
Returns the name associated with the outbound contact type segment k, where k is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumOutContactTypeSegments() . |
Map<String,String> |
getOutContactTypeSegmentProperties(int k)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for outbound contact type segments instead of contact types. |
String |
getWaitingQueueName(int q)
Returns the name of the waiting queue with index q used by the evaluation. |
Map<String,String> |
getWaitingQueueProperties(int q)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for waiting queues instead of contact types. |
String |
getWaitingQueueSegmentName(int k)
Returns the name associated with the waiting queue segment q, where q is a number greater than or equal to 0 and smaller than ContactCenterInfo.getNumMainPeriodSegments() . |
Map<String,String> |
getWaitingQueueSegmentProperties(int q)
This method is similar to ContactCenterInfo.getContactTypeProperties(int) ,
for waiting queue segments instead of contact types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface umontreal.iro.lecuyer.contactcenters.app.ContactCenterInfo |
---|
getDefaultUnit, getNumAgentGroups, getNumContactTypes, getNumInContactTypes, getNumMainPeriods, getNumMatricesOfAWT, getNumOutContactTypes, getNumWaitingQueues |
Constructor Detail |
---|
public AbstractContactCenterInfo()
Method Detail |
---|
public String getContactTypeName(int k)
ContactCenterInfo
ContactCenterInfo.getNumContactTypes()
. The first ContactCenterInfo.getNumInContactTypes()
indices are inbound contact types whereas the
remaining indices are outbound contact types.
If no contact type name is available, this
returns null.
getContactTypeName
in interface ContactCenterInfo
k
- the contact type identifier.
public String getAgentGroupName(int i)
ContactCenterInfo
getAgentGroupName
in interface ContactCenterInfo
i
- the identifier of the agent group.
public String getWaitingQueueName(int q)
ContactCenterInfo
getWaitingQueueName
in interface ContactCenterInfo
q
- the index of the waiting queue.
public String getMainPeriodName(int mp)
ContactCenterInfo
getMainPeriodName
in interface ContactCenterInfo
mp
- the index of the main period.
public Map<String,String> getAgentGroupProperties(int i)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for agent groups instead of contact types.
getAgentGroupProperties
in interface ContactCenterInfo
i
- the agent group identifier.
public String getAgentGroupSegmentName(int i)
ContactCenterInfo
ContactCenterInfo.getNumAgentGroupSegments()
.
If no segment name is available, this
returns null.
getAgentGroupSegmentName
in interface ContactCenterInfo
i
- the agent group segment identifier.
public Map<String,String> getAgentGroupSegmentProperties(int i)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for agent group segments instead of contact types.
getAgentGroupSegmentProperties
in interface ContactCenterInfo
i
- the segment identifier.
public Map<String,String> getContactTypeProperties(int k)
ContactCenterInfo
getContactTypeProperties
in interface ContactCenterInfo
k
- the contact type identifier.
public String getContactTypeSegmentName(int k)
ContactCenterInfo
ContactCenterInfo.getNumContactTypeSegments()
.
If no segment name is available, this
returns null.
getContactTypeSegmentName
in interface ContactCenterInfo
k
- the contact type segment identifier.
public Map<String,String> getContactTypeSegmentProperties(int k)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for contact type segments instead of contact types.
getContactTypeSegmentProperties
in interface ContactCenterInfo
k
- the segment identifier.
public String getInContactTypeSegmentName(int k)
ContactCenterInfo
ContactCenterInfo.getNumInContactTypeSegments()
.
If no segment name is available, this
returns null.
getInContactTypeSegmentName
in interface ContactCenterInfo
k
- the inbound contact type segment identifier.
public Map<String,String> getInContactTypeSegmentProperties(int k)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for inbound contact type segments instead of contact types.
getInContactTypeSegmentProperties
in interface ContactCenterInfo
k
- the segment identifier.
public String getMainPeriodSegmentName(int mp)
ContactCenterInfo
ContactCenterInfo.getNumMainPeriodSegments()
.
If no segment name is available, this
returns null.
getMainPeriodSegmentName
in interface ContactCenterInfo
mp
- the main period segment identifier.
public int getNumAgentGroupSegments()
ContactCenterInfo
getNumAgentGroupSegments
in interface ContactCenterInfo
public int getNumContactTypeSegments()
ContactCenterInfo
getNumContactTypeSegments
in interface ContactCenterInfo
public int getNumInContactTypeSegments()
ContactCenterInfo
getNumInContactTypeSegments
in interface ContactCenterInfo
public int getNumMainPeriodSegments()
ContactCenterInfo
getNumMainPeriodSegments
in interface ContactCenterInfo
public int getNumOutContactTypeSegments()
ContactCenterInfo
getNumOutContactTypeSegments
in interface ContactCenterInfo
public int getNumWaitingQueueSegments()
ContactCenterInfo
The result of this method depends on the role
of the waiting queues, which depends on the
router's policy.
For example, if waiting queues correspond
to contact types, this returns
the result of
ContactCenterInfo.getNumContactTypeSegments()
.
getNumWaitingQueueSegments
in interface ContactCenterInfo
public int getNumContactTypesWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumContactTypes()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumContactTypes()
,
ContactCenterInfo.getNumContactTypeSegments()
, and 1.
getNumContactTypesWithSegments
in interface ContactCenterInfo
public int getNumInContactTypesWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumInContactTypes()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumInContactTypes()
,
ContactCenterInfo.getNumInContactTypeSegments()
, and 1.
getNumInContactTypesWithSegments
in interface ContactCenterInfo
public int getNumOutContactTypesWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumOutContactTypes()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumOutContactTypes()
,
ContactCenterInfo.getNumOutContactTypeSegments()
, and 1.
getNumOutContactTypesWithSegments
in interface ContactCenterInfo
public int getNumAgentGroupsWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumAgentGroups()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumAgentGroups()
,
ContactCenterInfo.getNumAgentGroupSegments()
, and 1.
getNumAgentGroupsWithSegments
in interface ContactCenterInfo
public int getNumMainPeriodsWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumMainPeriods()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumMainPeriods()
,
ContactCenterInfo.getNumMainPeriodSegments()
, and 1.
getNumMainPeriodsWithSegments
in interface ContactCenterInfo
public int getNumWaitingQueuesWithSegments()
ContactCenterInfo
ContactCenterInfo.getNumWaitingQueues()
.
Otherwise, this returns the sum of ContactCenterInfo.getNumWaitingQueues()
,
ContactCenterInfo.getNumWaitingQueueSegments()
, and 1.
getNumWaitingQueuesWithSegments
in interface ContactCenterInfo
public String getOutContactTypeSegmentName(int k)
ContactCenterInfo
ContactCenterInfo.getNumOutContactTypeSegments()
.
If no segment name is available, this
returns null.
getOutContactTypeSegmentName
in interface ContactCenterInfo
k
- the outbound contact type segment identifier.
public Map<String,String> getOutContactTypeSegmentProperties(int k)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for outbound contact type segments instead of contact types.
getOutContactTypeSegmentProperties
in interface ContactCenterInfo
k
- the segment identifier.
public Map<String,String> getWaitingQueueProperties(int q)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for waiting queues instead of contact types.
getWaitingQueueProperties
in interface ContactCenterInfo
q
- the waiting queue identifier.
public String getWaitingQueueSegmentName(int k)
ContactCenterInfo
ContactCenterInfo.getNumMainPeriodSegments()
.
If no segment name is available, this
returns null.
getWaitingQueueSegmentName
in interface ContactCenterInfo
k
- the waiting queue segment identifier.
public Map<String,String> getWaitingQueueSegmentProperties(int q)
ContactCenterInfo
ContactCenterInfo.getContactTypeProperties(int)
,
for waiting queue segments instead of contact types.
getWaitingQueueSegmentProperties
in interface ContactCenterInfo
q
- the segment identifier.
public String getMatrixOfAWTName(int m)
ContactCenterInfo
getMatrixOfAWTName
in interface ContactCenterInfo
m
- the index of the matrix of AWTs.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |