org.apache.flume.conf
Class FlumeConfiguration

java.lang.Object
  extended by org.apache.flume.conf.FlumeConfiguration

public class FlumeConfiguration
extends Object

FlumeConfiguration is an in memory representation of the hierarchical configuration namespace required by the PropertiesFileConfigurationProvider. This class is instantiated with a 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.

See Also:
PropertiesFileConfigurationProvider

Nested Class Summary
static class FlumeConfiguration.AgentConfiguration
           
static class FlumeConfiguration.ComponentNameAndConfigKey
           
 
Field Summary
static String CHANNELS
           
static String CHANNELS_PREFIX
           
static String CONF_CONFIG
           
static String CONF_TYPE
           
static String INDENTSTEP
           
static String NEWLINE
           
static String SINKGROUPS
           
static String SINKGROUPS_PREFIX
           
static String SINKS
           
static String SINKS_PREFIX
           
static String SOURCES
           
static String SOURCES_PREFIX
           
 
Constructor Summary
FlumeConfiguration(Properties properties)
          Creates a populated Flume Configuration object.
 
Method Summary
 List<FlumeConfigurationError> getConfigurationErrors()
           
 FlumeConfiguration.AgentConfiguration getConfigurationFor(String hostname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCES

public static final String SOURCES
See Also:
Constant Field Values

SOURCES_PREFIX

public static final String SOURCES_PREFIX
See Also:
Constant Field Values

SINKS

public static final String SINKS
See Also:
Constant Field Values

SINKS_PREFIX

public static final String SINKS_PREFIX
See Also:
Constant Field Values

SINKGROUPS

public static final String SINKGROUPS
See Also:
Constant Field Values

SINKGROUPS_PREFIX

public static final String SINKGROUPS_PREFIX
See Also:
Constant Field Values

CHANNELS

public static final String CHANNELS
See Also:
Constant Field Values

CHANNELS_PREFIX

public static final String CHANNELS_PREFIX
See Also:
Constant Field Values

NEWLINE

public static final String NEWLINE

INDENTSTEP

public static final String INDENTSTEP
See Also:
Constant Field Values

CONF_TYPE

public static final String CONF_TYPE
See Also:
Constant Field Values

CONF_CONFIG

public static final String CONF_CONFIG
See Also:
Constant Field Values
Constructor Detail

FlumeConfiguration

public FlumeConfiguration(Properties properties)
Creates a populated Flume Configuration object.

Method Detail

getConfigurationErrors

public List<FlumeConfigurationError> getConfigurationErrors()

getConfigurationFor

public FlumeConfiguration.AgentConfiguration getConfigurationFor(String hostname)


Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.