Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2371:fe89d6cf55fb
Added support for official gauge numbers.
flys-backend/trunk@3464 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 19 Dec 2011 11:21:25 +0000 |
parents | 268f8da412e3 |
children | 68d1661a57cf |
line wrap: on
line source
package de.intevation.flys.importer; public class Config { public static final String DRY_RUN = "flys.backend.importer.dry.run"; public static final String ANNOTATION_TYPES = "flys.backend.importer.annotation.types"; public static final String SKIP_GAUGES = "flys.backend.importer.skip.gauges"; public static final String SKIP_ANNOTATIONS = "flys.backend.importer.skip.annotations"; public static final String SKIP_PRFS = "flys.backend.importer.skip.prfs"; public static final String SKIP_HYKS = "flys.backend.importer.skip.hyks"; public static final String SKIP_WST = "flys.backend.importer.skip.wst"; public static final String SKIP_EXTRA_WSTS = "flys.backend.importer.skip.extra.wsts"; public static final String SKIP_FIXATIONS = "flys.backend.importer.skip.fixations"; public static final String SKIP_OFFICIAL_LINES = "flys.backend.importer.skip.official.lines"; public static final String SKIP_FLOOD_WATER = "flys.backend.importer.skip.flood.water"; public static final String SKIP_FLOOD_PROTECTION = "flys.backend.importer.skip.flood.protection"; public static final Config INSTANCE = new Config(); private Config () { } public boolean dryRun() { return Boolean.getBoolean(DRY_RUN); } public String getAnnotationTypes() { return System.getProperty(ANNOTATION_TYPES); } public boolean skipGauges() { return Boolean.getBoolean(SKIP_GAUGES); } public boolean skipAnnotations() { return Boolean.getBoolean(SKIP_ANNOTATIONS); } public boolean skipPRFs() { return Boolean.getBoolean(SKIP_PRFS); } public boolean skipHYKs() { return Boolean.getBoolean(SKIP_HYKS); } public boolean skipWst() { return Boolean.getBoolean(SKIP_WST); } public boolean skipExtraWsts() { return Boolean.getBoolean(SKIP_EXTRA_WSTS); } public boolean skipFixations() { return Boolean.getBoolean(SKIP_FIXATIONS); } public boolean skipOfficialLines() { return Boolean.getBoolean(SKIP_OFFICIAL_LINES); } public boolean skipFloodWater() { return Boolean.getBoolean(SKIP_FLOOD_WATER); } public boolean skipFloodProtection() { return Boolean.getBoolean(SKIP_FLOOD_PROTECTION); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :