public class ExtractRawDataAndResultsCommand extends AbstractLegacyCommand<ExtractRawDataAndResultsRequest>
context, repository
Constructor and Description |
---|
ExtractRawDataAndResultsCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ExtractRawDataAndResultsRequest request) |
ExtractRawDataAndResultsResult |
execute(ExtractRawDataAndResultsRequest request) |
org.apache.commons.collections4.map.MultiKeyMap<String,org.apache.commons.lang3.tuple.Pair<File,String>> |
extractCommunityResults(List<String> selectedIndicators,
String zone,
int width,
int height)
Generate community graph and their data for selected indicators.
|
protected org.apache.commons.collections4.map.MultiKeyMap<String,File> |
extractMaps(List<String> speciesList)
Extract all maps for matchings species.
|
org.apache.commons.collections4.map.MultiKeyMap<String,org.apache.commons.lang3.tuple.Pair<File,String>> |
extractPopulationResults(List<String> selectedSpecies,
List<String> selectedIndicators,
String zone,
int width,
int height)
Generate population graph and their data for selected indicators.
|
protected void |
extractSource(File directory)
Generate raw data after selection in a sub directory (named of the zone) of the given directory.
|
extractCommunity, extractPopulation, extractRSUfiData, generateCommunityChart, generatePopulationChart, getCharts, getCommunityIndicators, getCommunitySpeciesMap, getConfig, getIndicatorsMap, getLocale, getMapSpeciesMap, getPopulationIndicators, getPopulationIndicators, getPopulationSpecies, getPopulationSpeciesMap, getReports, getZonesMap, loadSelectionData, newExtractRawDataAndResultsResult, newFileResult, newMapResult, newVoidResult, setRepository, setRequestContext, walkOnCommunity, walkOnCommunity, walkOnPopulation, walkOnPopulation
public boolean accept(ExtractRawDataAndResultsRequest request)
public ExtractRawDataAndResultsResult execute(ExtractRawDataAndResultsRequest request)
protected void extractSource(File directory)
directory
- where to generate fileprotected org.apache.commons.collections4.map.MultiKeyMap<String,File> extractMaps(List<String> speciesList)
speciesList
- list of species to extractpublic org.apache.commons.collections4.map.MultiKeyMap<String,org.apache.commons.lang3.tuple.Pair<File,String>> extractCommunityResults(List<String> selectedIndicators, String zone, int width, int height)
selectedIndicators
- indicators to extractzone
- zonewidth
- graph widthheight
- graph heightpublic org.apache.commons.collections4.map.MultiKeyMap<String,org.apache.commons.lang3.tuple.Pair<File,String>> extractPopulationResults(List<String> selectedSpecies, List<String> selectedIndicators, String zone, int width, int height)
selectedSpecies
- species to extractselectedIndicators
- indicators to extractzone
- zonewidth
- graph widthheight
- graph heightCopyright © 2010–2015 Ifremer. All rights reserved.