sascha@1223: package de.intevation.flys.importer; sascha@1223: sascha@1223: public class Config sascha@1223: { sascha@1223: public static final String DRY_RUN = sascha@1223: "flys.backend.importer.dry.run"; sascha@1223: ingo@2804: public static final String INFO_GEW_FILE = ingo@2804: "flys.backend.importer.infogew.file"; ingo@2804: sascha@1223: public static final String ANNOTATION_TYPES = sascha@1223: "flys.backend.importer.annotation.types"; sascha@1223: sascha@1223: public static final String SKIP_GAUGES = sascha@1223: "flys.backend.importer.skip.gauges"; sascha@1223: sascha@1223: public static final String SKIP_ANNOTATIONS = sascha@1223: "flys.backend.importer.skip.annotations"; sascha@1223: sascha@1223: public static final String SKIP_PRFS = sascha@1223: "flys.backend.importer.skip.prfs"; sascha@1223: sascha@1223: public static final String SKIP_HYKS = sascha@1223: "flys.backend.importer.skip.hyks"; sascha@1223: sascha@1223: public static final String SKIP_WST = sascha@1223: "flys.backend.importer.skip.wst"; sascha@1223: sascha@1223: public static final String SKIP_EXTRA_WSTS = sascha@1223: "flys.backend.importer.skip.extra.wsts"; sascha@1223: sascha@1223: public static final String SKIP_FIXATIONS = sascha@1223: "flys.backend.importer.skip.fixations"; sascha@1223: sascha@1223: public static final String SKIP_OFFICIAL_LINES = sascha@1223: "flys.backend.importer.skip.official.lines"; sascha@1223: sascha@1223: public static final String SKIP_FLOOD_WATER = sascha@1223: "flys.backend.importer.skip.flood.water"; sascha@1223: sascha@1223: public static final String SKIP_FLOOD_PROTECTION = sascha@1223: "flys.backend.importer.skip.flood.protection"; sascha@1223: ingo@2810: public static final String SKIP_BED_HEIGHT_SINGLE = ingo@2810: "flys.backend.importer.skip.bed.height.single"; ingo@2810: ingo@2810: public static final String SKIP_BED_HEIGHT_EPOCH = ingo@2810: "flys.backend.importer.skip.bed.height.epoch"; ingo@2806: ingo@2814: public static final String SKIP_SEDIMENT_DENSITY = ingo@2814: "flys.backend.importer.skip.sediment.density"; ingo@2814: ingo@2820: public static final String SKIP_MORPHOLOGICAL_WIDTH = ingo@2820: "flys.backend.importer.skip.morphological.width"; ingo@2820: ingo@2826: public static final String SKIP_FLOW_VELOCITY = ingo@2826: "flys.backend.importer.skip.flow.velocity"; ingo@2826: ingo@2839: public static final String SKIP_SEDIMENT_YIELD = ingo@2839: "flys.backend.importer.skip.sediment.yield"; ingo@2839: ingo@2844: public static final String SKIP_WATERLEVELS = ingo@2844: "flys.backend.importer.skip.waterlevels"; ingo@2844: ingo@2851: public static final String SKIP_WATERLEVEL_DIFFERENCES = ingo@2851: "flys.backend.importer.skip.waterlevel.differences"; ingo@2851: ingo@2806: sascha@1223: public static final Config INSTANCE = new Config(); sascha@1223: sascha@1223: private Config () { sascha@1223: } sascha@1223: sascha@1223: public boolean dryRun() { sascha@1223: return Boolean.getBoolean(DRY_RUN); sascha@1223: } sascha@1223: ingo@2804: public String getInfoGewFile() { ingo@2804: return System.getProperty(INFO_GEW_FILE); ingo@2804: } ingo@2804: sascha@1223: public String getAnnotationTypes() { sascha@1223: return System.getProperty(ANNOTATION_TYPES); sascha@1223: } sascha@1223: sascha@1223: public boolean skipGauges() { sascha@1223: return Boolean.getBoolean(SKIP_GAUGES); sascha@1223: } sascha@1223: sascha@1223: public boolean skipAnnotations() { sascha@1223: return Boolean.getBoolean(SKIP_ANNOTATIONS); sascha@1223: } sascha@1223: sascha@1223: public boolean skipPRFs() { sascha@1223: return Boolean.getBoolean(SKIP_PRFS); sascha@1223: } sascha@1223: sascha@1223: public boolean skipHYKs() { sascha@1223: return Boolean.getBoolean(SKIP_HYKS); sascha@1223: } sascha@1223: sascha@1223: public boolean skipWst() { sascha@1223: return Boolean.getBoolean(SKIP_WST); sascha@1223: } sascha@1223: sascha@1223: public boolean skipExtraWsts() { sascha@1223: return Boolean.getBoolean(SKIP_EXTRA_WSTS); sascha@1223: } sascha@1223: sascha@1223: public boolean skipFixations() { sascha@1223: return Boolean.getBoolean(SKIP_FIXATIONS); sascha@1223: } sascha@1223: sascha@1223: public boolean skipOfficialLines() { sascha@1223: return Boolean.getBoolean(SKIP_OFFICIAL_LINES); sascha@1223: } sascha@1223: sascha@1223: public boolean skipFloodWater() { sascha@1223: return Boolean.getBoolean(SKIP_FLOOD_WATER); sascha@1223: } sascha@1223: sascha@1223: public boolean skipFloodProtection() { sascha@1223: return Boolean.getBoolean(SKIP_FLOOD_PROTECTION); sascha@1223: } ingo@2806: ingo@2810: public boolean skipBedHeightSingle() { ingo@2810: return Boolean.getBoolean(SKIP_BED_HEIGHT_SINGLE); ingo@2810: } ingo@2810: ingo@2810: public boolean skipBedHeightEpoch() { ingo@2810: return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH); ingo@2806: } ingo@2814: ingo@2814: public boolean skipSedimentDensity() { ingo@2814: return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY); ingo@2814: } ingo@2820: ingo@2820: public boolean skipMorphologicalWidth() { ingo@2820: return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH); ingo@2820: } ingo@2826: ingo@2826: public boolean skipFlowVelocity() { ingo@2826: return Boolean.getBoolean(SKIP_FLOW_VELOCITY); ingo@2826: } ingo@2839: ingo@2839: public boolean skipSedimentYield() { ingo@2839: return Boolean.getBoolean(SKIP_SEDIMENT_YIELD); ingo@2839: } ingo@2844: ingo@2844: public boolean skipWaterlevels() { ingo@2844: return Boolean.getBoolean(SKIP_WATERLEVELS); ingo@2844: } ingo@2851: ingo@2851: public boolean skipWaterlevelDifferences() { ingo@2851: return Boolean.getBoolean(SKIP_WATERLEVEL_DIFFERENCES); ingo@2851: } sascha@1223: } sascha@1223: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :