Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 3820:8a75cf0841b1 pre2.7-2012-03-16
merged flys-backend/pre2.7-2012-03-16
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:59 +0200 |
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 :