Enum RewardStatus
- java.lang.Object
-
- java.lang.Enum<RewardStatus>
-
- org.exoplatform.wallet.model.reward.RewardStatus
-
- All Implemented Interfaces:
Serializable,Comparable<RewardStatus>
public enum RewardStatus extends Enum<RewardStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORESTIMATIONPENDINGSUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RewardStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static RewardStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ESTIMATION
public static final RewardStatus ESTIMATION
-
PENDING
public static final RewardStatus PENDING
-
SUCCESS
public static final RewardStatus SUCCESS
-
ERROR
public static final RewardStatus ERROR
-
-
Method Detail
-
values
public static RewardStatus[] 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 (RewardStatus c : RewardStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RewardStatus 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 nameNullPointerException- if the argument is null
-
-