Mercurial > dive4elements > river
changeset 6219:3fcd1e859c66
Add CSV data facet to have a CSV file export.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 06 Jun 2013 16:43:02 +0200 |
parents | 359adab7f27d |
children | f03f15032e6e |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/DifferencesState.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/DifferencesState.java Thu Jun 06 16:42:11 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/DifferencesState.java Thu Jun 06 16:43:02 2013 +0200 @@ -22,6 +22,7 @@ import org.dive4elements.river.artifacts.D4EArtifact; import org.dive4elements.river.artifacts.access.BedDifferencesAccess; import org.dive4elements.river.artifacts.model.CalculationResult; +import org.dive4elements.river.artifacts.model.DataFacet; import org.dive4elements.river.artifacts.model.FacetTypes; import org.dive4elements.river.artifacts.model.minfo.BedDiffCalculation; import org.dive4elements.river.artifacts.model.minfo.BedDiffEpochFacet; @@ -102,6 +103,7 @@ CallMeta meta = context.getMeta(); + newFacets.add(new DataFacet(CSV, "CSV data", ComputeType.ADVANCE, hash, id)); for (int idx = 0; idx < results.length; idx++) { if (results[idx] instanceof BedDiffYearResult) { newFacets.add(new BedDiffYearFacet(