public enum APIRating extends Enum<APIRating>
| Enum Constant and Description |
|---|
RATING_FIVE |
RATING_FOUR |
RATING_ONE |
RATING_THREE |
RATING_TWO |
RATING_ZERO |
| Modifier and Type | Method and Description |
|---|---|
int |
getRating() |
static APIRating |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIRating[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIRating RATING_ZERO
public static final APIRating RATING_ONE
public static final APIRating RATING_TWO
public static final APIRating RATING_THREE
public static final APIRating RATING_FOUR
public static final APIRating RATING_FIVE
public static APIRating[] values()
for (APIRating c : APIRating.values()) System.out.println(c);
public static APIRating 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 int getRating()
Copyright © 2017 WSO2. All rights reserved.