Package org.openqa.selenium.html5
Enum AppCacheStatus
- java.lang.Object
-
- java.lang.Enum<AppCacheStatus>
-
- org.openqa.selenium.html5.AppCacheStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AppCacheStatus>
public enum AppCacheStatus extends java.lang.Enum<AppCacheStatus>
Represents the application cache status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKING
DOWNLOADING
IDLE
OBSOLETE
UNCACHED
UPDATE_READY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppCacheStatus
getEnum(int value)
Gets the AppCacheStatus for the given int value.static AppCacheStatus
getEnum(java.lang.String value)
int
value()
static AppCacheStatus
valueOf(java.lang.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.
-
-
-
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(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 namejava.lang.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(java.lang.String value)
-
-