public class FlumeConfiguration extends Object
FlumeConfiguration is an in memory representation of the hierarchical configuration namespace required by the ConfigurationProvider. This class is instantiated with a map or properties object which is parsed to construct the hierarchy in memory. Once the entire set of properties have been parsed and populated, a validation routine is run that identifies and removes invalid components.
ConfigurationProvider
Modifier and Type | Class and Description |
---|---|
static class |
FlumeConfiguration.AgentConfiguration |
static class |
FlumeConfiguration.ComponentNameAndConfigKey |
Modifier and Type | Field and Description |
---|---|
static String |
INDENTSTEP |
static String |
NEWLINE |
Constructor and Description |
---|
FlumeConfiguration(Map<String,String> properties)
Creates a populated Flume Configuration object.
|
FlumeConfiguration(Properties properties)
Deprecated.
please use the other constructor
|
Modifier and Type | Method and Description |
---|---|
List<FlumeConfigurationError> |
getConfigurationErrors() |
FlumeConfiguration.AgentConfiguration |
getConfigurationFor(String hostname) |
public static final String NEWLINE
public static final String INDENTSTEP
@Deprecated public FlumeConfiguration(Properties properties)
public List<FlumeConfigurationError> getConfigurationErrors()
public FlumeConfiguration.AgentConfiguration getConfigurationFor(String hostname)
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.