Interface DataFeed

    • Method Detail

      • getNextValue

        Data getNextValue​(Object... params)
        Returns value from DataFeed. This method is used to compute new data. Flexibility with number of parameters aims to provide freedom in implementation of whole DataFeed.
        Parameters:
        params - for DataFeed computing
        Returns:
        computed value
      • getPreviousValue

        Data getPreviousValue()
        Returns last generated value from DataFeed. Important for easy comparison between new and previous values.
        Returns:
        last generated value
      • setLabel

        void setLabel​(String label)
        Sets label for DataFeed
        Parameters:
        label - the label
      • getLabel

        String getLabel()
        Returns label for DataFeed
        Returns:
        label