com.fatwire.agent
Enum ProviderState

java.lang.Object
  extended by java.lang.Enum<ProviderState>
      extended by com.fatwire.agent.ProviderState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProviderState>

public enum ProviderState
extends java.lang.Enum<ProviderState>

Denotes the state this provider is currently in.


Enum Constant Summary
AuthenticatationFailed
          Provider's authentication with an external system failed.
Connected
          Provider is currently connector to an external system.
ConnectionFailed
          Failed to connect to an external system.
 
Method Summary
static ProviderState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProviderState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Connected

public static final ProviderState Connected
Provider is currently connector to an external system.


AuthenticatationFailed

public static final ProviderState AuthenticatationFailed
Provider's authentication with an external system failed.


ConnectionFailed

public static final ProviderState ConnectionFailed
Failed to connect to an external system.

Method Detail

values

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

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

valueOf

public static ProviderState valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name