diff gnv-artifacts/ChangeLog @ 612:e86d37008fd1

Added new Transition and State for using the PreSettingsValue for the decision if a Transition could be used and the usage of PreSettings as InputValues. gnv-artifacts/trunk@678 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 12 Feb 2010 09:11:49 +0000
parents 4b818f13e20a
children f20b65c1ebf3
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Feb 11 14:10:15 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Feb 12 09:11:49 2010 +0000
@@ -1,3 +1,27 @@
+2010-02-12  Tim Englich  <tim.englich@intevation.de>
+
+	* src/main/java/de/intevation/gnv/state/PreSettingsTransferState.java: 
+	  This new State ist Implemented for the Case that Values of the PreSettings 
+	  has to be used instead of InputValues. This States will look into the 
+	  Presettings and put Values identified by the configurable Names into the 
+	  InputData-Collection.
+	  For the Configuration you can insert the following XML-Element into the 
+	  Configuration of a State.
+	  <presettings-transfer presetting="geometry" inputvalue="mesh_coordinate"/>
+	
+	* src/main/java/de/intevation/gnv/state/StateBase.java (getPreSettings),
+	  src/main/java/de/intevation/gnv/state/State.java (getPreSettings): 
+	  Added a getter-method for the PreSettings that are set at the State.
+	  Using this way e.g the PresettingsValueCompareTransition can reach the 
+	  Settings an can evaluate them.
+	  
+	* src/main/java/de/intevation/gnv/transition/PresettingsValueCompareTransition.java (operator): 
+	  This transition will have a look at the Values which where ste during the 
+	  instantiation of an Artifact. If a defined Value is given an the Value is 
+	  Equal to the configured Value using the configured Operator the Transition 
+	  to the configured State could be used. Otherwise the Transition could not
+	  be used.
+
 2010-02-11  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java:

http://dive4elements.wald.intevation.org