Enum RewardBudgetType
- java.lang.Object
-
- java.lang.Enum<RewardBudgetType>
-
- org.exoplatform.wallet.model.reward.RewardBudgetType
-
- All Implemented Interfaces:
Serializable,Comparable<RewardBudgetType>
public enum RewardBudgetType extends Enum<RewardBudgetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPUTEDFIXEDFIXED_PER_MEMBERFIXED_PER_POINT
-
Field Summary
Fields Modifier and Type Field Description static RewardBudgetTypeDEFAULT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RewardBudgetTypevalueOf(String name)Returns the enum constant of this type with the specified name.static RewardBudgetType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPUTED
public static final RewardBudgetType COMPUTED
-
FIXED
public static final RewardBudgetType FIXED
-
FIXED_PER_MEMBER
public static final RewardBudgetType FIXED_PER_MEMBER
-
FIXED_PER_POINT
public static final RewardBudgetType FIXED_PER_POINT
-
-
Field Detail
-
DEFAULT
public static final RewardBudgetType DEFAULT
-
-
Method Detail
-
values
public static RewardBudgetType[] 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 (RewardBudgetType c : RewardBudgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RewardBudgetType 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
-
-