All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.duracloud.mill.common.taskproducer.TaskProducerConfigurationManager Maven / Gradle / Ivy

The newest version!
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 *     http://duracloud.org/license/
 */
package org.duracloud.mill.common.taskproducer;

import org.duracloud.mill.config.ConfigConstants;
import org.duracloud.mill.config.ConfigurationManager;

/**
 * @author Daniel Bernstein
 * Date: Nov 5, 2013
 */
public class TaskProducerConfigurationManager extends ConfigurationManager {

    public String getDuplicationPolicyDir() {
        return System.getProperty(ConfigConstants.LOCAL_DUPLICATION_DIR);
    }

    /**
     * @return
     */
    public String getDuplicationPolicyBucketSuffix() {
        return System.getProperty(ConfigConstants.DUPLICATION_POLICY_BUCKET_SUFFIX);
    }

    /**
     * @return
     */
    public String getBitReportQueueName() {
        return System.getProperty(ConfigConstants.QUEUE_NAME_BIT_REPORT);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy