Enum CFType

    • Enum Constant Detail

      • AVERAGE

        public static final CFType AVERAGE
        v3: RRA:AVERAGE:xff:steps:rows.
      • MIN

        public static final CFType MIN
        v3: RRA:MIN:xff:steps:rows.
      • MAX

        public static final CFType MAX
        v3: RRA:MAX:xff:steps:rows.
      • LAST

        public static final CFType LAST
        v3: RRA:LAST:xff:steps:rows.
      • HWPREDICT

        public static final CFType HWPREDICT
        v3: RRA:HWPREDICT:rows:alpha:beta:seasonal-period[:rra-num].
      • SEASONAL

        public static final CFType SEASONAL
        v3: RRA:SEASONAL:seasonal-period:gamma:rra-num[:smoothing-window=fraction].
      • DEVSEASONAL

        public static final CFType DEVSEASONAL
        v3: RRA:DEVSEASONAL:seasonal-period:gamma:rra-num[:smoothing-window=fraction].
      • DEVPREDICT

        public static final CFType DEVPREDICT
        v3: RRA:DEVPREDICT:rows:rra-num.
      • FAILURES

        public static final CFType FAILURES
        v3: RRA:FAILURES:rows:threshold:window-length:rra-num.
      • MHWPREDICT

        public static final CFType MHWPREDICT
        v4: RRA:MHWPREDICT:rows:alpha:beta:seasonal-period[:rra-num]
    • Method Detail

      • values

        public static CFType[] 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 (CFType c : CFType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CFType 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 name
        NullPointerException - if the argument is null
      • value

        public String value()
        Gets the CF Value.
        Returns:
        the string representation of the consolidation function
      • fromValue

        public static CFType fromValue​(String v)
        From value.
        Parameters:
        v - the string name of the CF
        Returns:
        the consolidation function type