Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2851:acb8d08f59a2
Parse and store MINFO waterlevel differences; added config option to skip this process.
flys-backend/trunk@4305 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 26 Apr 2012 09:48:49 +0000 |
parents | c4db0f75a94a |
children | a41f279a66e2 |
comparison
equal
deleted
inserted
replaced
2850:a1402c16152f | 2851:acb8d08f59a2 |
---|---|
59 public static final String SKIP_SEDIMENT_YIELD = | 59 public static final String SKIP_SEDIMENT_YIELD = |
60 "flys.backend.importer.skip.sediment.yield"; | 60 "flys.backend.importer.skip.sediment.yield"; |
61 | 61 |
62 public static final String SKIP_WATERLEVELS = | 62 public static final String SKIP_WATERLEVELS = |
63 "flys.backend.importer.skip.waterlevels"; | 63 "flys.backend.importer.skip.waterlevels"; |
64 | |
65 public static final String SKIP_WATERLEVEL_DIFFERENCES = | |
66 "flys.backend.importer.skip.waterlevel.differences"; | |
64 | 67 |
65 | 68 |
66 public static final Config INSTANCE = new Config(); | 69 public static final Config INSTANCE = new Config(); |
67 | 70 |
68 private Config () { | 71 private Config () { |
145 } | 148 } |
146 | 149 |
147 public boolean skipWaterlevels() { | 150 public boolean skipWaterlevels() { |
148 return Boolean.getBoolean(SKIP_WATERLEVELS); | 151 return Boolean.getBoolean(SKIP_WATERLEVELS); |
149 } | 152 } |
153 | |
154 public boolean skipWaterlevelDifferences() { | |
155 return Boolean.getBoolean(SKIP_WATERLEVEL_DIFFERENCES); | |
156 } | |
150 } | 157 } |
151 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 158 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |