Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2839:163c037f2c7e
Added config option to skip parsing sediment yield data and prepared the importer to read/store those data.
flys-backend/trunk@4272 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 19 Apr 2012 07:34:50 +0000 |
parents | c3f8cf0cdf69 |
children | c4db0f75a94a |
comparison
equal
deleted
inserted
replaced
2838:75446c47ef77 | 2839:163c037f2c7e |
---|---|
53 public static final String SKIP_MORPHOLOGICAL_WIDTH = | 53 public static final String SKIP_MORPHOLOGICAL_WIDTH = |
54 "flys.backend.importer.skip.morphological.width"; | 54 "flys.backend.importer.skip.morphological.width"; |
55 | 55 |
56 public static final String SKIP_FLOW_VELOCITY = | 56 public static final String SKIP_FLOW_VELOCITY = |
57 "flys.backend.importer.skip.flow.velocity"; | 57 "flys.backend.importer.skip.flow.velocity"; |
58 | |
59 public static final String SKIP_SEDIMENT_YIELD = | |
60 "flys.backend.importer.skip.sediment.yield"; | |
58 | 61 |
59 | 62 |
60 public static final Config INSTANCE = new Config(); | 63 public static final Config INSTANCE = new Config(); |
61 | 64 |
62 private Config () { | 65 private Config () { |
131 } | 134 } |
132 | 135 |
133 public boolean skipFlowVelocity() { | 136 public boolean skipFlowVelocity() { |
134 return Boolean.getBoolean(SKIP_FLOW_VELOCITY); | 137 return Boolean.getBoolean(SKIP_FLOW_VELOCITY); |
135 } | 138 } |
139 | |
140 public boolean skipSedimentYield() { | |
141 return Boolean.getBoolean(SKIP_SEDIMENT_YIELD); | |
142 } | |
136 } | 143 } |
137 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 144 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |