/*
 * Copyright (c) 2010, Eric McIntyre
 * All rights reserved.
 * 
 * This software is under the BSD license.
 * http://www.opensource.org/licenses/bsd-license.php
 */
package com.riversoforion.orinoco.core;

import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.util.Properties;

import com.riversoforion.acheron.patterns.Builder;

public interface ConfigurationRepositoryFactory extends Builder<ConfigurationRepository> {

    ConfigurationRepositoryFactory withOption(String name, String value);

    ConfigurationRepositoryFactory configure();

    ConfigurationRepositoryFactory configure(Properties props);

    ConfigurationRepositoryFactory configure(File file);

    ConfigurationRepositoryFactory configure(URL url);

    ConfigurationRepositoryFactory configure(InputStream inputStream);
}
