Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 3471:e4250c6e1538 2.8.1
merged flys-backend/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:40 +0200 |
parents | a41f279a66e2 |
children | 0f99e9f1a2ca |
comparison
equal
deleted
inserted
replaced
3468:f37e7e8907cb | 3471:e4250c6e1538 |
---|---|
1 package de.intevation.flys.importer; | |
2 | |
3 public class Config | |
4 { | |
5 public static final String DRY_RUN = | |
6 "flys.backend.importer.dry.run"; | |
7 | |
8 public static final String INFO_GEW_FILE = | |
9 "flys.backend.importer.infogew.file"; | |
10 | |
11 public static final String ANNOTATION_TYPES = | |
12 "flys.backend.importer.annotation.types"; | |
13 | |
14 public static final String SKIP_GAUGES = | |
15 "flys.backend.importer.skip.gauges"; | |
16 | |
17 public static final String SKIP_ANNOTATIONS = | |
18 "flys.backend.importer.skip.annotations"; | |
19 | |
20 public static final String SKIP_PRFS = | |
21 "flys.backend.importer.skip.prfs"; | |
22 | |
23 public static final String SKIP_HYKS = | |
24 "flys.backend.importer.skip.hyks"; | |
25 | |
26 public static final String SKIP_WST = | |
27 "flys.backend.importer.skip.wst"; | |
28 | |
29 public static final String SKIP_EXTRA_WSTS = | |
30 "flys.backend.importer.skip.extra.wsts"; | |
31 | |
32 public static final String SKIP_FIXATIONS = | |
33 "flys.backend.importer.skip.fixations"; | |
34 | |
35 public static final String SKIP_OFFICIAL_LINES = | |
36 "flys.backend.importer.skip.official.lines"; | |
37 | |
38 public static final String SKIP_FLOOD_WATER = | |
39 "flys.backend.importer.skip.flood.water"; | |
40 | |
41 public static final String SKIP_FLOOD_PROTECTION = | |
42 "flys.backend.importer.skip.flood.protection"; | |
43 | |
44 public static final String SKIP_BED_HEIGHT_SINGLE = | |
45 "flys.backend.importer.skip.bed.height.single"; | |
46 | |
47 public static final String SKIP_BED_HEIGHT_EPOCH = | |
48 "flys.backend.importer.skip.bed.height.epoch"; | |
49 | |
50 public static final String SKIP_SEDIMENT_DENSITY = | |
51 "flys.backend.importer.skip.sediment.density"; | |
52 | |
53 public static final String SKIP_MORPHOLOGICAL_WIDTH = | |
54 "flys.backend.importer.skip.morphological.width"; | |
55 | |
56 public static final String 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"; | |
61 | |
62 public static final String SKIP_WATERLEVELS = | |
63 "flys.backend.importer.skip.waterlevels"; | |
64 | |
65 public static final String SKIP_WATERLEVEL_DIFFERENCES = | |
66 "flys.backend.importer.skip.waterlevel.differences"; | |
67 | |
68 public static final String SKIP_SQ_RELATION = | |
69 "flys.backend.importer.skip.sq.relation"; | |
70 | |
71 | |
72 public static final Config INSTANCE = new Config(); | |
73 | |
74 private Config () { | |
75 } | |
76 | |
77 public boolean dryRun() { | |
78 return Boolean.getBoolean(DRY_RUN); | |
79 } | |
80 | |
81 public String getInfoGewFile() { | |
82 return System.getProperty(INFO_GEW_FILE); | |
83 } | |
84 | |
85 public String getAnnotationTypes() { | |
86 return System.getProperty(ANNOTATION_TYPES); | |
87 } | |
88 | |
89 public boolean skipGauges() { | |
90 return Boolean.getBoolean(SKIP_GAUGES); | |
91 } | |
92 | |
93 public boolean skipAnnotations() { | |
94 return Boolean.getBoolean(SKIP_ANNOTATIONS); | |
95 } | |
96 | |
97 public boolean skipPRFs() { | |
98 return Boolean.getBoolean(SKIP_PRFS); | |
99 } | |
100 | |
101 public boolean skipHYKs() { | |
102 return Boolean.getBoolean(SKIP_HYKS); | |
103 } | |
104 | |
105 public boolean skipWst() { | |
106 return Boolean.getBoolean(SKIP_WST); | |
107 } | |
108 | |
109 public boolean skipExtraWsts() { | |
110 return Boolean.getBoolean(SKIP_EXTRA_WSTS); | |
111 } | |
112 | |
113 public boolean skipFixations() { | |
114 return Boolean.getBoolean(SKIP_FIXATIONS); | |
115 } | |
116 | |
117 public boolean skipOfficialLines() { | |
118 return Boolean.getBoolean(SKIP_OFFICIAL_LINES); | |
119 } | |
120 | |
121 public boolean skipFloodWater() { | |
122 return Boolean.getBoolean(SKIP_FLOOD_WATER); | |
123 } | |
124 | |
125 public boolean skipFloodProtection() { | |
126 return Boolean.getBoolean(SKIP_FLOOD_PROTECTION); | |
127 } | |
128 | |
129 public boolean skipBedHeightSingle() { | |
130 return Boolean.getBoolean(SKIP_BED_HEIGHT_SINGLE); | |
131 } | |
132 | |
133 public boolean skipBedHeightEpoch() { | |
134 return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH); | |
135 } | |
136 | |
137 public boolean skipSedimentDensity() { | |
138 return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY); | |
139 } | |
140 | |
141 public boolean skipMorphologicalWidth() { | |
142 return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH); | |
143 } | |
144 | |
145 public boolean skipFlowVelocity() { | |
146 return Boolean.getBoolean(SKIP_FLOW_VELOCITY); | |
147 } | |
148 | |
149 public boolean skipSedimentYield() { | |
150 return Boolean.getBoolean(SKIP_SEDIMENT_YIELD); | |
151 } | |
152 | |
153 public boolean skipWaterlevels() { | |
154 return Boolean.getBoolean(SKIP_WATERLEVELS); | |
155 } | |
156 | |
157 public boolean skipWaterlevelDifferences() { | |
158 return Boolean.getBoolean(SKIP_WATERLEVEL_DIFFERENCES); | |
159 } | |
160 | |
161 public boolean skipSQRelation() { | |
162 return Boolean.getBoolean(SKIP_SQ_RELATION); | |
163 } | |
164 } | |
165 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |