Class IntervalValue


  • public final class IntervalValue
    extends BigDecimalValue
    Represents an interval outcome of indicator execution.
    Since:
    1.4.0
    • Constructor Detail

      • IntervalValue

        public IntervalValue​(java.math.BigDecimal result,
                             int sequence,
                             int order,
                             IntervalType intervalType)
        See Also:
        IntervalType
      • IntervalValue

        public IntervalValue​(java.math.BigDecimal result,
                             int sequence,
                             int order)
        The default interval type is IntervalType.DAY_HOUR.
        See Also:
        IntervalType
    • Method Detail

      • formatValue

        public java.lang.String formatValue()
        Description copied from class: IndicatorValue
        Returns the string representation of the raw value.
        Overrides:
        formatValue in class BigDecimalValue
      • getIntervalType

        public IntervalType getIntervalType()
        Returns the interval type of this indicator value.