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

ru.healexxzt.config.ConfigurationOptions Maven / Gradle / Ivy

package ru.healexxzt.config;

public class ConfigurationOptions
{
    private char pathSeparator;
    private boolean copyDefaults;
    private final Configuration configuration;
    
    protected ConfigurationOptions(final Configuration configuration) {
        this.pathSeparator = '.';
        this.copyDefaults = false;
        this.configuration = configuration;
    }
    
    public Configuration configuration() {
        return this.configuration;
    }
    
    public char pathSeparator() {
        return this.pathSeparator;
    }
    
    public ConfigurationOptions pathSeparator(final char value) {
        this.pathSeparator = value;
        return this;
    }
    
    public boolean copyDefaults() {
        return this.copyDefaults;
    }
    
    public ConfigurationOptions copyDefaults(final boolean value) {
        this.copyDefaults = value;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy