Package org.rrd4j.core.jrrd
Enum ConsolidationFunctionType
- java.lang.Object
-
- java.lang.Enum<ConsolidationFunctionType>
-
- org.rrd4j.core.jrrd.ConsolidationFunctionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConsolidationFunctionType>
public enum ConsolidationFunctionType extends Enum<ConsolidationFunctionType>
Class ConsolidationFunctionType- Version:
- $Revision: 1.1 $
- Author:
- Ciaran Treanor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVERAGE
DEVPREDICT
DEVSEASONAL
FAILURES
HWPREDICT
LAST
MAX
MHWPREDICT
MIN
SEASONAL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ConsolFun
getConsolFun()
static ConsolidationFunctionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConsolidationFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVERAGE
public static final ConsolidationFunctionType AVERAGE
-
MIN
public static final ConsolidationFunctionType MIN
-
MAX
public static final ConsolidationFunctionType MAX
-
LAST
public static final ConsolidationFunctionType LAST
-
HWPREDICT
public static final ConsolidationFunctionType HWPREDICT
-
SEASONAL
public static final ConsolidationFunctionType SEASONAL
-
DEVPREDICT
public static final ConsolidationFunctionType DEVPREDICT
-
DEVSEASONAL
public static final ConsolidationFunctionType DEVSEASONAL
-
FAILURES
public static final ConsolidationFunctionType FAILURES
-
MHWPREDICT
public static final ConsolidationFunctionType MHWPREDICT
-
-
Method Detail
-
values
public static ConsolidationFunctionType[] 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 (ConsolidationFunctionType c : ConsolidationFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsolidationFunctionType 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
-
getConsolFun
public abstract ConsolFun getConsolFun()
-
-