public enum CacheElementActivity extends Enum<CacheElementActivity>
| Modifier and Type | Method and Description |
|---|---|
boolean |
maybeActive() |
static CacheElementActivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheElementActivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheElementActivity UNKNOWN
public static final CacheElementActivity ACTIVE
public static final CacheElementActivity INACTIVE
public static CacheElementActivity[] values()
for (CacheElementActivity c : CacheElementActivity.values()) System.out.println(c);
public static CacheElementActivity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean maybeActive()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.