org.openqa.selenium.html5
Enum AppCacheStatus
java.lang.Object
java.lang.Enum<AppCacheStatus>
org.openqa.selenium.html5.AppCacheStatus
- All Implemented Interfaces:
- Serializable, Comparable<AppCacheStatus>
public enum AppCacheStatus
- extends Enum<AppCacheStatus>
Represents the application cache status.
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
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 © 2013. All rights reserved.