Package agents.policy
Enum SupportPolicy.Products
- java.lang.Object
-
- java.lang.Enum<SupportPolicy.Products>
-
- agents.policy.SupportPolicy.Products
-
- All Implemented Interfaces:
Serializable
,Comparable<SupportPolicy.Products>
- Enclosing class:
- SupportPolicy
public static enum SupportPolicy.Products extends Enum<SupportPolicy.Products>
Products ofSupportPolicy
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MarketValueCalculation
Trigger for market value calculationSupportInfo
Info on the support scheme to be applied to a set of plantsSupportPayout
Actual pay-out of the support
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SupportPolicy.Products
valueOf(String name)
Returns the enum constant of this type with the specified name.static SupportPolicy.Products[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SupportInfo
public static final SupportPolicy.Products SupportInfo
Info on the support scheme to be applied to a set of plants
-
SupportPayout
public static final SupportPolicy.Products SupportPayout
Actual pay-out of the support
-
MarketValueCalculation
public static final SupportPolicy.Products MarketValueCalculation
Trigger for market value calculation
-
-
Method Detail
-
values
public static SupportPolicy.Products[] 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 (SupportPolicy.Products c : SupportPolicy.Products.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportPolicy.Products 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
-
-