org.cruxframework.crux.core.clientoffline
Enum ApplicationCacheHandler.CacheEvent

java.lang.Object
  extended by java.lang.Enum<ApplicationCacheHandler.CacheEvent>
      extended by org.cruxframework.crux.core.clientoffline.ApplicationCacheHandler.CacheEvent
All Implemented Interfaces:
Serializable, Comparable<ApplicationCacheHandler.CacheEvent>
Enclosing class:
ApplicationCacheHandler

public static enum ApplicationCacheHandler.CacheEvent
extends Enum<ApplicationCacheHandler.CacheEvent>


Enum Constant Summary
onCached
           
onChecking
           
onDownloading
           
onError
           
onNoupdate
           
onObsolete
           
onProgress
           
onUpdateready
           
 
Method Summary
static ApplicationCacheHandler.CacheEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ApplicationCacheHandler.CacheEvent[] 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

onCached

public static final ApplicationCacheHandler.CacheEvent onCached

onChecking

public static final ApplicationCacheHandler.CacheEvent onChecking

onDownloading

public static final ApplicationCacheHandler.CacheEvent onDownloading

onNoupdate

public static final ApplicationCacheHandler.CacheEvent onNoupdate

onUpdateready

public static final ApplicationCacheHandler.CacheEvent onUpdateready

onProgress

public static final ApplicationCacheHandler.CacheEvent onProgress

onObsolete

public static final ApplicationCacheHandler.CacheEvent onObsolete

onError

public static final ApplicationCacheHandler.CacheEvent onError
Method Detail

values

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

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

valueOf

public static ApplicationCacheHandler.CacheEvent 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


Copyright © 2014. All rights reserved.