org.openqa.selenium.html5
Enum AppCacheStatus

java.lang.Object
  extended by java.lang.Enum<AppCacheStatus>
      extended by org.openqa.selenium.html5.AppCacheStatus
All Implemented Interfaces:
Serializable, Comparable<AppCacheStatus>

public enum AppCacheStatus
extends Enum<AppCacheStatus>

Represents the application cache status.


Enum Constant Summary
CHECKING
           
DOWNLOADING
           
IDLE
           
OBSOLETE
           
UNCACHED
           
UPDATE_READY
           
 
Method Summary
static AppCacheStatus getEnum(int value)
          Gets the AppCacheStatus for the given int value.
static AppCacheStatus getEnum(String value)
           
 int value()
           
static AppCacheStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AppCacheStatus[] 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

UNCACHED

public static final AppCacheStatus UNCACHED

IDLE

public static final AppCacheStatus IDLE

CHECKING

public static final AppCacheStatus CHECKING

DOWNLOADING

public static final AppCacheStatus DOWNLOADING

UPDATE_READY

public static final AppCacheStatus UPDATE_READY

OBSOLETE

public static final AppCacheStatus OBSOLETE
Method Detail

values

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

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

valueOf

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

value

public int value()

getEnum

public static AppCacheStatus getEnum(int value)
Gets the AppCacheStatus for the given int value.

Parameters:
value - The input value
Returns:
AppCacheStatus The corresponding appcache status

getEnum

public static AppCacheStatus getEnum(String value)


Copyright © 2012. All Rights Reserved.