changeset 731:5ddb1b568f38

Added generation and configuration of AT facets. flys-artifacts/trunk@2222 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 23 Jun 2011 17:22:17 +0000
parents 97d774d58e24
children 39d191f011dc
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/artifacts/winfo.xml flys-artifacts/doc/conf/conf.xml flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java
diffstat 5 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Jun 23 16:45:48 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Jun 23 17:22:17 2011 +0000
@@ -1,3 +1,14 @@
+2011-06-23  Sascha L. Teichmann <sascha.teichmann@intevation.de>
+
+	* doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
+	  Added facet config for AT exports.
+
+	* src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
+	  Added 'at' facet type.
+
+	* src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
+	  Generate AT facets.
+	
 2011-06-23  Sascha L. Teichmann <sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/ATExporter.java: New.
--- a/flys-artifacts/doc/conf/artifacts/winfo.xml	Thu Jun 23 16:45:48 2011 +0000
+++ b/flys-artifacts/doc/conf/artifacts/winfo.xml	Thu Jun 23 17:22:17 2011 +0000
@@ -147,6 +147,11 @@
                         <facet name="report" description="facet.computed_dischargecurve_export.report"/>
                     </facets>
                 </outputmode>
+                <outputmode name="computed_dischargecurve_at_export" description="output.computed_dischargecurve_at_export" mime-type="text/plain">
+                    <facets>
+                        <facet name="at" description="facet.computed_dischargecurve_export.at"/>
+                    </facets>
+                </outputmode>
             </outputmodes>
         </state>
 
--- a/flys-artifacts/doc/conf/conf.xml	Thu Jun 23 16:45:48 2011 +0000
+++ b/flys-artifacts/doc/conf/conf.xml	Thu Jun 23 17:22:17 2011 +0000
@@ -68,6 +68,8 @@
         <output-generator name="waterlevel_report">de.intevation.flys.exports.ReportGenerator</output-generator>
         <output-generator name="computed_dischargecurve_report">de.intevation.flys.exports.ReportGenerator</output-generator>
         <output-generator name="durationcurve_report">de.intevation.flys.exports.ReportGenerator</output-generator>
+        <!-- AT exporter -->
+        <output-generator name="computed_dischargecurve_at_export">de.intevation.flys.exports.ATExporter</output-generator>
     </output-generators>
 
     <rest-server>
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Thu Jun 23 16:45:48 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java	Thu Jun 23 17:22:17 2011 +0000
@@ -18,6 +18,7 @@
 
     String CSV = "csv";
     String WST = "wst";
+    String AT  = "at";
 
     String REPORT = "report";
 }
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java	Thu Jun 23 16:45:48 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java	Thu Jun 23 17:22:17 2011 +0000
@@ -70,6 +70,7 @@
                     args);
 
                 facets.add(new WaterlevelFacet(i, COMPUTED_DISCHARGE_Q, name));
+                facets.add(new WaterlevelFacet(i, AT, "AT data"));
             }
 
             facets.add(new DataFacet(CSV, "CSV data"));

http://dive4elements.wald.intevation.org