Search in sources :

Example 1 with PluginLoaderConfig

use of org.graylog2.plugin.PluginLoaderConfig in project graylog2-server by Graylog2.

the class CmdLineTool method getPluginPath.

private Path getPluginPath(String configFile) {
    final PluginLoaderConfig pluginLoaderConfig = new PluginLoaderConfig();
    processConfiguration(new JadConfig(getConfigRepositories(configFile), pluginLoaderConfig));
    return pluginLoaderConfig.getPluginDir();
}
Also used : JadConfig(com.github.joschi.jadconfig.JadConfig) PluginLoaderConfig(org.graylog2.plugin.PluginLoaderConfig)

Aggregations

JadConfig (com.github.joschi.jadconfig.JadConfig)1 PluginLoaderConfig (org.graylog2.plugin.PluginLoaderConfig)1