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
ConfigurationException
protected void failIfConfigured() throws ConfigurationException
ConfigurationException
public String getType()
public void setType(String type)
public String toString(int indentCount)
public String getComponentName()
protected void setConfigured()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.