de.starface.integration.uci.java.v30.values
Enum FaxState

java.lang.Object
  extended by java.lang.Enum<FaxState>
      extended by de.starface.integration.uci.java.v30.values.FaxState
All Implemented Interfaces:
Serializable, Comparable<FaxState>

public enum FaxState
extends Enum<FaxState>

This enum defines different states a fax request can take. The constants are used for the fax property FaxProperties.state.


Enum Constant Summary
BUSY
          Other party is busy [ENDSTATE]
FAILED
          Sending of fax failed.
NOANSWER
          Other party doesn't answer [ENDSTATE]
NOFAX
          Other party is not a fax.
NOFILE
          XMPP file could not be transmitted.
PROCEEDING
          Calling remote party.
SENDING
          Trying to send fax.
SENT
          Fax was successfully sent.
WAITING
          Waiting for transmission of PDF file
 
Method Summary
static FaxState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FaxState[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WAITING

public static final FaxState WAITING
Waiting for transmission of PDF file


NOFILE

public static final FaxState NOFILE
XMPP file could not be transmitted. [ENDSTATE]


PROCEEDING

public static final FaxState PROCEEDING
Calling remote party.


NOANSWER

public static final FaxState NOANSWER
Other party doesn't answer [ENDSTATE]


BUSY

public static final FaxState BUSY
Other party is busy [ENDSTATE]


SENDING

public static final FaxState SENDING
Trying to send fax.


NOFAX

public static final FaxState NOFAX
Other party is not a fax. [ENDSTATE]


SENT

public static final FaxState SENT
Fax was successfully sent. [ENDSTATE]


FAILED

public static final FaxState FAILED
Sending of fax failed. [ENDSTATE]

Method Detail

values

public static FaxState[] 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 (FaxState c : FaxState.values())
    System.out.println(c);

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

valueOf

public static FaxState 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


Copyright © 2012 STARFACE GmbH. All rights reserved.