org.apache.flume.conf
Class ComponentConfiguration
java.lang.Object
   org.apache.flume.conf.ComponentConfiguration
org.apache.flume.conf.ComponentConfiguration
- Direct Known Subclasses: 
- ChannelConfiguration, ChannelSelectorConfiguration, SinkConfiguration, SinkGroupConfiguration, SinkProcessorConfiguration, SourceConfiguration
- public abstract class ComponentConfiguration 
- extends Object
Abstract implementation of the Component Configuration Manager. This class
 does the configuration in the object. The component specific versions, which
 inherit from this, create the configuration based on the config file. All
 subclasses of this class store properties of the component. The properties
 can be stored as properties in this
 
 
 
 
 
componentName
protected String componentName
configured
protected boolean configured
errors
protected List<FlumeConfigurationError> errors
ComponentConfiguration
protected ComponentConfiguration(String componentName)
isNotFoundConfigClass
public boolean isNotFoundConfigClass()
- 
 
setNotFoundConfigClass
public void setNotFoundConfigClass()
- 
 
getErrors
public List<FlumeConfigurationError> getErrors()
- 
 
configure
public void configure(Context context)
               throws ConfigurationException
- 
- Throws:
- ConfigurationException
 
failIfConfigured
protected void failIfConfigured()
                         throws ConfigurationException
- 
- Throws:
- ConfigurationException
 
getType
public String getType()
- 
 
setType
public void setType(String type)
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
toString
public String toString(int indentCount)
- 
 
getComponentName
public String getComponentName()
- 
 
setConfigured
protected void setConfigured()
- 
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.