public class UsageModeDataGatherer extends java.lang.Object implements DataGatherer, ProgressMonitor
ProgressMonitor.Progress| Constructor and Description |
|---|
UsageModeDataGatherer(DrawingStepHandler stepHandler,
UsageMode usageMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activates the gathering of data.
|
void |
deactivate()
Deactivates the gathering of data.
|
java.util.List<Data> |
getGatheredData()
Gets the gathered data.
|
void |
monitor(ProgressMonitor.Progress progress) |
public UsageModeDataGatherer(DrawingStepHandler stepHandler, UsageMode usageMode)
public void activate()
DataGathereractivate in interface DataGathererpublic void deactivate()
DataGathererDataGatherer#getJsonData() method. However, no new data will be gathered.deactivate in interface DataGathererpublic java.util.List<Data> getGatheredData()
DataGatherergetGatheredData in interface DataGathererpublic void monitor(ProgressMonitor.Progress progress)
monitor in interface ProgressMonitor