com.telapi.api.domain.enums
Enum CallStatus

java.lang.Object
  extended by java.lang.Enum<CallStatus>
      extended by com.telapi.api.domain.enums.CallStatus
All Implemented Interfaces:
Serializable, Comparable<CallStatus>

public enum CallStatus
extends Enum<CallStatus>


Enum Constant Summary
BUSY
           
COMPLETED
           
FAILED
           
IN_PROGRESS
           
NO_ANSWER
           
QUEUED
           
RINGING
           
UNKNOWN
           
 
Method Summary
static CallStatus forValue(String s)
           
 String toString()
           
static CallStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEUED

public static final CallStatus QUEUED

RINGING

public static final CallStatus RINGING

IN_PROGRESS

public static final CallStatus IN_PROGRESS

COMPLETED

public static final CallStatus COMPLETED

FAILED

public static final CallStatus FAILED

BUSY

public static final CallStatus BUSY

NO_ANSWER

public static final CallStatus NO_ANSWER

UNKNOWN

public static final CallStatus UNKNOWN
Method Detail

values

public static CallStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CallStatus c : CallStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CallStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

forValue

public static CallStatus forValue(String s)

toString

public String toString()
Overrides:
toString in class Enum<CallStatus>


Copyright © 2012. All Rights Reserved.