class DefaultConfigurationBuilder implements ConfigurationBuilder {

    @Override
    public ConfigurationBuilder decreasePriority(PropertySource propertySource) {
        checkBuilderState();
        int index = propertySources.indexOf(propertySource);
        if(index<0){
            throw new IllegalArgumentException("No such PropertySource: " + propertySource);
        }
        if(index>0){
            propertySources.remove(propertySource);
            propertySources.add(index-1, propertySource);
        }
        return this;
    }

    public  DefaultConfigurationBuilder();
    public  DefaultConfigurationBuilder(ConfigurationContext context);
    public  DefaultConfigurationBuilder(Configuration configuration);

}