|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.orderlysoftware.orderlycalls.base.Settings com.orderlysoftware.orderlycalls.examples.OrderlyQExampleSettings
public class OrderlyQExampleSettings
OrderlyQ - Advanced, Caller Friendly Queue Control
50% of all callers hang up after just 45 seconds of waiting on hold. (Source: Avaya)
OrderlyQ is a revolutionary call queuing system that lets your callers hang up and call back without losing their place in the queue.
This example application of OrderlyQ makes all callers wait for five mintues. The full version is available from Orderly Software (http://www.orderlyq.com), and does not have this limitation.
This class is an Example, for Demonstration purposes ONLY.
You MAY NOT use this file or compiled classes derived from this file for anything other than your own personal demonstration purposes.
This file IS NOT distributed under the terms of the GNU Lesser General Public License.
Please see the accompanying documentation for usage restrictions with OrderlyCalls and queuing.
Field Summary | |
---|---|
static int |
AGENT_DEPENDENT
|
static int |
ALL
|
static int |
BUSY
|
static int |
DELAY
|
static int |
DOWN
|
static int |
ENTRY
|
static int |
FIXED
|
static int |
IMMEDIATE
|
static int |
INVALID
|
static int |
MOBILES
|
static int |
NONE
|
static int |
SIZE
|
static int |
UP
|
static int |
WAIT
|
Constructor Summary | |
---|---|
OrderlyQExampleSettings()
|
Method Summary | |
---|---|
static java.lang.String |
constToStr(int val)
|
int |
getActivate()
OrderlyQ activation strategy. |
int |
getActivateSize()
The queue size at which to start offering OrderlyQ. |
double |
getActivateWait()
The wait time at which to start offering OrderlyQ. |
int |
getExtraOffer()
When to describe the facility to call back from an extra number. |
int |
getExtraPrompt()
Which calls to offer the ability to call back on a different number. |
int |
getExtraSize()
The queue size at which to start offering the ability to call back on a different number. |
double |
getExtraWait()
The estimated wait time at which to start offering the ability to call back on a different number. |
int |
getHangUp()
When to hang up on callers. |
int |
getHangUpSize()
Number of people ahead of caller at which to force hang up. |
double |
getHangUpWait()
Estimated wait time at which to force hang up. |
java.lang.String |
getMobilePattern()
A regular expression used to detect calls from mobiles. |
java.lang.String |
getMusic()
The music to play to callers. |
double |
getPersistAfterCall()
How long a caller remains at the front of the queue after speaking to an agent. |
double |
getPersistNoCall()
How long a caller remains at the front of the queue after reaching it without calling back. |
double |
getRate()
The rate at which to pass callers through to agents. |
int |
getRateStrategy()
Specifies whether rate is constant or not. |
int |
getRounding()
Are we rounding wait times up or down? |
int |
getTextAvailable()
Who to offer texts to. |
double |
getTextDelay()
How long to delay sending texts. |
java.lang.String |
getTextMessage()
Gets the text message to send mobiles. |
int |
getTextOffer()
When to offer the facility to sign up for texts. |
int |
getTextPrompt()
Whether to offer texts on only queue entry, or on subsequent calls. |
int |
getTextSend()
|
int |
getTextSize()
People ahead of caller at which the facility to sign up for texts is offered. |
double |
getTextWait()
Estimated wait time at which to offer the facility to sign up for texts. |
static int |
parse(java.lang.String str)
|
void |
setActivate(int activate)
OrderlyQ activation strategy. |
void |
setActivateSize(int activateSize)
The queue size at which to start offering OrderlyQ. |
void |
setActivateWait(double activateWait)
The wait time at which to start offering OrderlyQ. |
void |
setExtraOffer(int extraOffer)
When to describe the facility to call back from an extra number. |
void |
setExtraPrompt(int extraPrompt)
Which calls to offer the ability to call back on a different number. |
void |
setExtraSize(int extraSize)
The queue size at which to start offering the ability to call back on a different number. |
void |
setExtraWait(double extraWait)
The estimated wait time at which to start offering the ability to call back on a different number. |
void |
setHangUp(int hangup)
When to hang up on callers. |
void |
setHangUpSize(int hangupSize)
Number of people ahead of caller at which to force hang up. |
void |
setHangUpWait(double hangupWait)
Estimated wait time at which to force hang up. |
void |
setMobilePattern(java.lang.String mobilePattern)
A regular expression used to detect calls from mobiles. |
void |
setMusic(java.lang.String music)
The music to play to callers. |
void |
setPersistAfterCall(double persistAfterCall)
How long a caller remains at the front of the queue after speaking to an agent. |
void |
setPersistNoCall(double persistNoCall)
How long a caller remains at the front of the queue after reaching it without calling back. |
void |
setRate(double rate)
The rate at which to pass callers through to agents. |
void |
setRateStrategy(int rateStrategy)
Whether the rate is fixed, or dependent on the number of logged in agents. |
void |
setRounding(int rounding)
Round seconds to minutes. |
void |
setTextAvailable(int textAvailable)
Who to offer texts to. |
void |
setTextDelay(double textDelay)
How long to delay sending texts. |
void |
setTextMessage(java.lang.String textMessage)
Sets the text message to send to mobiles. |
void |
setTextOffer(int textOffer)
When to offer the facility to sign up for texts. |
void |
setTextPrompt(int textPrompt)
Whether to offer texts on queue entry only, or on subsequent calls. |
void |
setTextSend(int textSend)
Whether to send texts immediately or with a delay. |
void |
setTextSize(int textSize)
People ahead of caller at which the facility to sign up for texts is offered. |
void |
setTextWait(double textWait)
Estimated wait time at which to offer the facility to sign up for texts. |
boolean |
setXMLSettings(org.w3c.dom.Element xmlSettings)
Parses incoming XML settings. |
java.lang.String |
toString()
Convenience method. |
Methods inherited from class com.orderlysoftware.orderlycalls.base.Settings |
---|
equals, getName, getXMLSettings, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INVALID
public static final int FIXED
public static final int AGENT_DEPENDENT
public static final int ALL
public static final int SIZE
public static final int WAIT
public static final int NONE
public static final int ENTRY
public static final int MOBILES
public static final int IMMEDIATE
public static final int DELAY
public static final int BUSY
public static final int UP
public static final int DOWN
Constructor Detail |
---|
public OrderlyQExampleSettings()
Method Detail |
---|
public int getRounding()
public void setRounding(int rounding)
rounding
- UP or DOWN.public java.lang.String getTextMessage()
public void setTextMessage(java.lang.String textMessage)
textMessage
- The textMessage to set.public double getPersistAfterCall()
public void setPersistAfterCall(double persistAfterCall)
persistAfterCall
- the number of minutes after reaching an agent within which a
caller can avoid queuing.public double getPersistNoCall()
public void setPersistNoCall(double persistNoCall)
persistNoCall
- The persistNoCall to set.public int getActivate()
public void setActivate(int activate)
activate
- BUSY - when all operators are busy.public int getActivateSize()
#getActivate(int)
public void setActivateSize(int activateSize)
activateSize
- The activateSize to set.setActivate(int)
public double getActivateWait()
#getActivate(int)
public void setActivateWait(double activateWait)
activateWait
- The activateWait to set.setActivate(int)
public int getExtraOffer()
public void setExtraOffer(int extraOffer)
extraOffer
- The extraOffer to set.public int getExtraSize()
public void setExtraSize(int extraSize)
extraSize
- The extraSize to set.public double getExtraWait()
public void setExtraWait(double extraWait)
extraWait
- The extraWait to set.public int getExtraPrompt()
public void setExtraPrompt(int extraPrompt)
extraPrompt
- The extraPrompt to set.public int getHangUp()
public void setHangUp(int hangup)
hangup
- The hangup to set.public int getHangUpSize()
public void setHangUpSize(int hangupSize)
hangupSize
- The hangupSize to set.public double getHangUpWait()
public void setHangUpWait(double hangupWait)
hangupWait
- The hangupWait to set.public java.lang.String getMobilePattern()
public void setMobilePattern(java.lang.String mobilePattern)
mobilePattern
- The mobilePattern to set.public java.lang.String getMusic()
public void setMusic(java.lang.String music)
music
- The music to set.public double getRate()
public void setRate(double rate)
rate
- The rate to set.public int getRateStrategy()
public void setRateStrategy(int rateStrategy)
rateStrategy
- The rateStrategy to set.public int getTextAvailable()
public void setTextAvailable(int textAvailable)
textAvailable
- The textAvailable to set.public double getTextDelay()
public void setTextDelay(double textDelay)
textDelay
- The textDelay to set.public int getTextOffer()
public void setTextOffer(int textOffer)
textOffer
- The textOffer to set.public int getTextSize()
public void setTextSize(int textSize)
textSize
- The textSize to set.public double getTextWait()
public void setTextWait(double textWait)
textWait
- The textWait to set.public int getTextPrompt()
public void setTextPrompt(int textPrompt)
textPrompt
- The textPrompt to set.public int getTextSend()
public void setTextSend(int textSend)
textSend
- The textSend to set.public static int parse(java.lang.String str)
str
- A String representing one of the constants defined for this class.
public static java.lang.String constToStr(int val)
val
- One of the constants for this class
public boolean setXMLSettings(org.w3c.dom.Element xmlSettings)
setXMLSettings
in class Settings
public java.lang.String toString()
toString
in class Settings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |