org.codeforamerica.open311.internals.caching
Enum Cache.CacheableOperation
java.lang.Object
java.lang.Enum<Cache.CacheableOperation>
org.codeforamerica.open311.internals.caching.Cache.CacheableOperation
- All Implemented Interfaces:
- Serializable, Comparable<Cache.CacheableOperation>
- Enclosing interface:
- Cache
public static enum Cache.CacheableOperation
- extends Enum<Cache.CacheableOperation>
Set of operations which will be cached.
- Author:
- Santiago MunĂn
GET_SERVICE_DISCOVERY
public static final Cache.CacheableOperation GET_SERVICE_DISCOVERY
GET_SERVICE_LIST
public static final Cache.CacheableOperation GET_SERVICE_LIST
GET_SERVICE_DEFINITION
public static final Cache.CacheableOperation GET_SERVICE_DEFINITION
GET_SERVICE_REQUEST_LIST
public static final Cache.CacheableOperation GET_SERVICE_REQUEST_LIST
GET_SINGLE_SERVICE_REQUEST
public static final Cache.CacheableOperation GET_SINGLE_SERVICE_REQUEST
GET_CITIES_SERVICE_DISCOVERY_URLS
public static final Cache.CacheableOperation GET_CITIES_SERVICE_DISCOVERY_URLS
values
public static Cache.CacheableOperation[] 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 (Cache.CacheableOperation c : Cache.CacheableOperation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Cache.CacheableOperation 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 © 2013 Code for America. All Rights Reserved.