comparison flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2877:f0a67bc0e777 2.7

merged flys-backend/2.7
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:31 +0200
parents acb8d08f59a2
children a41f279a66e2
comparison
equal deleted inserted replaced
2793:6310b1582f2d 2877:f0a67bc0e777
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
69 public static final Config INSTANCE = new Config();
70
71 private Config () {
72 }
73
74 public boolean dryRun() {
75 return Boolean.getBoolean(DRY_RUN);
76 }
77
78 public String getInfoGewFile() {
79 return System.getProperty(INFO_GEW_FILE);
80 }
81
82 public String getAnnotationTypes() {
83 return System.getProperty(ANNOTATION_TYPES);
84 }
85
86 public boolean skipGauges() {
87 return Boolean.getBoolean(SKIP_GAUGES);
88 }
89
90 public boolean skipAnnotations() {
91 return Boolean.getBoolean(SKIP_ANNOTATIONS);
92 }
93
94 public boolean skipPRFs() {
95 return Boolean.getBoolean(SKIP_PRFS);
96 }
97
98 public boolean skipHYKs() {
99 return Boolean.getBoolean(SKIP_HYKS);
100 }
101
102 public boolean skipWst() {
103 return Boolean.getBoolean(SKIP_WST);
104 }
105
106 public boolean skipExtraWsts() {
107 return Boolean.getBoolean(SKIP_EXTRA_WSTS);
108 }
109
110 public boolean skipFixations() {
111 return Boolean.getBoolean(SKIP_FIXATIONS);
112 }
113
114 public boolean skipOfficialLines() {
115 return Boolean.getBoolean(SKIP_OFFICIAL_LINES);
116 }
117
118 public boolean skipFloodWater() {
119 return Boolean.getBoolean(SKIP_FLOOD_WATER);
120 }
121
122 public boolean skipFloodProtection() {
123 return Boolean.getBoolean(SKIP_FLOOD_PROTECTION);
124 }
125
126 public boolean skipBedHeightSingle() {
127 return Boolean.getBoolean(SKIP_BED_HEIGHT_SINGLE);
128 }
129
130 public boolean skipBedHeightEpoch() {
131 return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH);
132 }
133
134 public boolean skipSedimentDensity() {
135 return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY);
136 }
137
138 public boolean skipMorphologicalWidth() {
139 return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH);
140 }
141
142 public boolean skipFlowVelocity() {
143 return Boolean.getBoolean(SKIP_FLOW_VELOCITY);
144 }
145
146 public boolean skipSedimentYield() {
147 return Boolean.getBoolean(SKIP_SEDIMENT_YIELD);
148 }
149
150 public boolean skipWaterlevels() {
151 return Boolean.getBoolean(SKIP_WATERLEVELS);
152 }
153
154 public boolean skipWaterlevelDifferences() {
155 return Boolean.getBoolean(SKIP_WATERLEVEL_DIFFERENCES);
156 }
157 }
158 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org