ru.metrika4j.entity
Enum Counter.Status

java.lang.Object
  extended by java.lang.Enum<Counter.Status>
      extended by ru.metrika4j.entity.Counter.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Counter.Status>
Enclosing class:
Counter

public static enum Counter.Status
extends java.lang.Enum<Counter.Status>


Enum Constant Summary
CS_ERR_CONNECT
           
CS_ERR_DUPLICATED
           
CS_ERR_HTML_CODE
           
CS_ERR_OTHER_HTML_CODE
           
CS_ERR_TIMEOUT
           
CS_ERR_UNKNOWN
           
CS_NEW_COUNTER
           
CS_NOT_EVERYWHERE
           
CS_NOT_FOUND
           
CS_NOT_FOUND_HOME
           
CS_NOT_FOUND_HOME_LOAD_DATA
           
CS_OBSOLETE
           
CS_OK
           
CS_OK_NO_DATA
           
CS_WAIT_FOR_CHECKING
           
CS_WAIT_FOR_CHECKING_LOAD_DATA
           
 
Method Summary
static Counter.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Counter.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CS_ERR_CONNECT

public static final Counter.Status CS_ERR_CONNECT

CS_ERR_DUPLICATED

public static final Counter.Status CS_ERR_DUPLICATED

CS_ERR_HTML_CODE

public static final Counter.Status CS_ERR_HTML_CODE

CS_ERR_OTHER_HTML_CODE

public static final Counter.Status CS_ERR_OTHER_HTML_CODE

CS_ERR_TIMEOUT

public static final Counter.Status CS_ERR_TIMEOUT

CS_ERR_UNKNOWN

public static final Counter.Status CS_ERR_UNKNOWN

CS_NEW_COUNTER

public static final Counter.Status CS_NEW_COUNTER

CS_NOT_EVERYWHERE

public static final Counter.Status CS_NOT_EVERYWHERE

CS_NOT_FOUND

public static final Counter.Status CS_NOT_FOUND

CS_NOT_FOUND_HOME

public static final Counter.Status CS_NOT_FOUND_HOME

CS_NOT_FOUND_HOME_LOAD_DATA

public static final Counter.Status CS_NOT_FOUND_HOME_LOAD_DATA

CS_OK

public static final Counter.Status CS_OK

CS_OK_NO_DATA

public static final Counter.Status CS_OK_NO_DATA

CS_WAIT_FOR_CHECKING

public static final Counter.Status CS_WAIT_FOR_CHECKING

CS_WAIT_FOR_CHECKING_LOAD_DATA

public static final Counter.Status CS_WAIT_FOR_CHECKING_LOAD_DATA

CS_OBSOLETE

public static final Counter.Status CS_OBSOLETE
Method Detail

values

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

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

valueOf

public static Counter.Status 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
java.lang.NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.