com.genesyslab.ail
Class KwInteractionContext.Reason

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.KwInteractionContext.Reason
Enclosing interface:
KwInteractionContext

public static class KwInteractionContext.Reason
extends Enum

Constants for the reason associated with the status of a KwInteractionContext.


Field Summary
static KwInteractionContext.Reason ACCEPTED
          The interaction has been accepted.
static int ACCEPTED_
          Numeric constant for ACCEPTED.
static KwInteractionContext.Reason CANCELED
          The interaction has been canceled.
static int CANCELED_
          Numeric constant for CANCELED.
static KwInteractionContext.Reason CONFIRMED
          The interaction has been confirmed.
static int CONFIRMED_
          Numeric constant for CONFIRMED.
static KwInteractionContext.Reason INIT
          The interaction tells its status to a new listener.
static int INIT_
          Numeric constant for INIT.
static int MAX
          The number of actions.
static KwInteractionContext.Reason REJECTED
          The interaction has been rejected.
static int REJECTED_
          Numeric constant for REJECTED.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static KwInteractionContext.Reason getReason(int value)
          Returns the Reason for this value.
static int max()
          The number of actions.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACCEPTED_

public static final int ACCEPTED_
Numeric constant for ACCEPTED.

See Also:
Constant Field Values

ACCEPTED

public static final KwInteractionContext.Reason ACCEPTED
The interaction has been accepted. The reason can be the action of the accept method, passing the status from PREVIEW to IN_PROCESS.


REJECTED_

public static final int REJECTED_
Numeric constant for REJECTED.

See Also:
Constant Field Values

REJECTED

public static final KwInteractionContext.Reason REJECTED
The interaction has been rejected. The reason can be the action of the reject method, passing the status from PREVIEW to IDLE.


CONFIRMED_

public static final int CONFIRMED_
Numeric constant for CONFIRMED.

See Also:
Constant Field Values

CONFIRMED

public static final KwInteractionContext.Reason CONFIRMED
The interaction has been confirmed. The reason can be the action of the confirmStatus method, passing the status from STATUS_REQUEST to IN_PROCESS.


CANCELED_

public static final int CANCELED_
Numeric constant for CANCELED.

See Also:
Constant Field Values

CANCELED

public static final KwInteractionContext.Reason CANCELED
The interaction has been canceled. The CTI-Less T-Server canceled this interaction, passing to IDLE state.


INIT_

public static final int INIT_
Numeric constant for INIT.

See Also:
Constant Field Values

INIT

public static final KwInteractionContext.Reason INIT
The interaction tells its status to a new listener.


MAX

public static final int MAX
The number of actions.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The number of actions.


getReason

public static final KwInteractionContext.Reason getReason(int value)
Returns the Reason for this value.