Search in sources :

Example 1 with PathConfiguration

use of org.graylog2.configuration.PathConfiguration in project graylog2-server by Graylog2.

the class CmdLineTool method parseAndGetPathConfiguration.

private PathConfiguration parseAndGetPathConfiguration(String configFile) {
    final PathConfiguration pathConfiguration = new PathConfiguration();
    processConfiguration(new JadConfig(getConfigRepositories(configFile), pathConfiguration));
    return pathConfiguration;
}
Also used : PathConfiguration(org.graylog2.configuration.PathConfiguration) JadConfig(com.github.joschi.jadconfig.JadConfig)

Aggregations

JadConfig (com.github.joschi.jadconfig.JadConfig)1 PathConfiguration (org.graylog2.configuration.PathConfiguration)1