public enum GravatarRating extends Enum<GravatarRating>
Enum Constant and Description |
---|
GENERAL_AUDIENCES |
PARENTAL_GUIDANCE_SUGGESTED |
RESTRICTED |
XPLICIT |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static GravatarRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GravatarRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GravatarRating GENERAL_AUDIENCES
public static final GravatarRating PARENTAL_GUIDANCE_SUGGESTED
public static final GravatarRating RESTRICTED
public static final GravatarRating XPLICIT
public static GravatarRating[] values()
for (GravatarRating c : GravatarRating.values()) System.out.println(c);
public static GravatarRating 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 String getCode()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.