public abstract class ComponentConfiguration extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ComponentConfiguration.ComponentType  | 
| Modifier and Type | Field and Description | 
|---|---|
protected String | 
componentName  | 
protected boolean | 
configured  | 
protected List<FlumeConfigurationError> | 
errors  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
ComponentConfiguration(String componentName)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(Context context)  | 
protected void | 
failIfConfigured()  | 
String | 
getComponentName()  | 
List<FlumeConfigurationError> | 
getErrors()  | 
String | 
getType()  | 
boolean | 
isNotFoundConfigClass()  | 
protected void | 
setConfigured()  | 
void | 
setNotFoundConfigClass()  | 
void | 
setType(String type)  | 
String | 
toString()  | 
String | 
toString(int indentCount)  | 
protected String componentName
protected boolean configured
protected List<FlumeConfigurationError> errors
protected ComponentConfiguration(String componentName)
public boolean isNotFoundConfigClass()
public void setNotFoundConfigClass()
public List<FlumeConfigurationError> getErrors()
public void configure(Context context) throws ConfigurationException
ConfigurationExceptionprotected void failIfConfigured()
                         throws ConfigurationException
ConfigurationExceptionpublic String getType()
public void setType(String type)
public String toString(int indentCount)
public String getComponentName()
protected void setConfigured()
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.