|
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.msk.conditions.StatCondition
public class StatCondition
Represents a condition on statistics observed during a given number of periods preceding the times at which the condition is checked.
Constructor Summary | |
---|---|
StatCondition(CallCenter cc,
StatConditionParams par)
Constructs a new condition on statistics based on a call center model cc, and parameters par. |
Method Summary | |
---|---|
boolean |
applies(Contact contact)
Checks the represented condition for the given contact contact, and returns true if and only if the condition applies. |
void |
init()
Initializes this object. |
boolean |
isStarted()
Determines if the element is enabled or disabled. |
void |
start()
Enables the element represented by this object. |
void |
stop()
Disables the element represented by this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatCondition(CallCenter cc, StatConditionParams par)
Method Detail |
---|
public boolean applies(Contact contact)
Condition
applies
in interface Condition
contact
- the contact on which to check the condition.
public void init()
Initializable
init
in interface Initializable
public boolean isStarted()
ToggleElement
isStarted
in interface ToggleElement
public void start()
ToggleElement
IllegalStateException
if the element is already enabled.
start
in interface ToggleElement
public void stop()
ToggleElement
IllegalStateException
if the element is already disabled.
stop
in interface ToggleElement
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |