weka.knowledgeflow.steps

## Interface DataCollector

- All Known Implementing Classes:
    AttributeSummarizer, BaseSimpleDataVisualizer, BoundaryPlotter, CostBenefitAnalysis, DataVisualizer, GraphViewer, ImageViewer, ModelPerformanceChart, ScatterPlotMatrix, TextViewer

      public interface DataCollector

  Auxiliary interface for steps that collect data results of some type - e.g. visualization steps that collect results.
  Version:
    $Revision: $
  Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `restoreData(java.lang.Object data)` Set the data for this collector
    `java.lang.Object` | `retrieveData()` Get the data that this collector has collected

- - ### Method Detail

    - #### retrieveData

          java.lang.Object retrieveData()

      Get the data that this collector has collected
      Returns:
        the data collected by this collector

    - #### restoreData

          void restoreData(java.lang.Object data)
                    throws WekaException

      Set the data for this collector
      Parameters:
        `data` - the data to set
      Throws:
        `WekaException` - if there is a problem restoring data