public enum GravatarImageResolutionCacheInstance extends Enum<GravatarImageResolutionCacheInstance> implements GravatarImageResolutionCache
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasGravatarCreator(hudson.model.User user) |
void |
loadIfUnknown(hudson.model.User user) |
com.google.common.base.Optional<GravatarUrlCreator> |
urlCreatorFor(hudson.model.User user) |
static GravatarImageResolutionCacheInstance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GravatarImageResolutionCacheInstance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GravatarImageResolutionCacheInstance INSTANCE
public static GravatarImageResolutionCacheInstance[] values()
for (GravatarImageResolutionCacheInstance c : GravatarImageResolutionCacheInstance.values()) System.out.println(c);
public static GravatarImageResolutionCacheInstance 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 com.google.common.base.Optional<GravatarUrlCreator> urlCreatorFor(hudson.model.User user)
urlCreatorFor in interface GravatarImageResolutionCachepublic void loadIfUnknown(hudson.model.User user)
loadIfUnknown in interface GravatarImageResolutionCachepublic boolean hasGravatarCreator(hudson.model.User user)
hasGravatarCreator in interface GravatarImageResolutionCacheCopyright © 2004-2014. All Rights Reserved.