view flys-backend/src/main/java/de/intevation/flys/importer/Config.java @ 2821:0a536eb5d668

Added parser for parsing morphological widths. flys-backend/trunk@4238 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 13 Apr 2012 13:22:54 +0000
parents 7dffd28271d0
children c3f8cf0cdf69
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 INFO_GEW_FILE =
        "flys.backend.importer.infogew.file";

    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 String SKIP_BED_HEIGHT_SINGLE =
        "flys.backend.importer.skip.bed.height.single";

    public static final String SKIP_BED_HEIGHT_EPOCH =
        "flys.backend.importer.skip.bed.height.epoch";

    public static final String SKIP_SEDIMENT_DENSITY =
        "flys.backend.importer.skip.sediment.density";

    public static final String SKIP_MORPHOLOGICAL_WIDTH =
        "flys.backend.importer.skip.morphological.width";


    public static final Config INSTANCE = new Config();

    private Config () {
    }

    public boolean dryRun() {
        return Boolean.getBoolean(DRY_RUN);
    }

    public String getInfoGewFile() {
        return System.getProperty(INFO_GEW_FILE);
    }

    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);
    }

    public boolean skipBedHeightSingle() {
        return Boolean.getBoolean(SKIP_BED_HEIGHT_SINGLE);
    }

    public boolean skipBedHeightEpoch() {
        return Boolean.getBoolean(SKIP_BED_HEIGHT_EPOCH);
    }

    public boolean skipSedimentDensity() {
        return Boolean.getBoolean(SKIP_SEDIMENT_DENSITY);
    }

    public boolean skipMorphologicalWidth() {
        return Boolean.getBoolean(SKIP_MORPHOLOGICAL_WIDTH);
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org