public interface Configuration extends PluginElement
Modifier and Type | Method and Description |
---|---|
Configuration |
addConfigurationElement(ConfigurationElement element)
Add a
ConfigurationElement to this Configuration . |
ConfigurationElement |
getConfigurationElement(String element)
Get the specified
ConfigurationElement , if it exists; otherwise, return null. |
boolean |
hasConfigurationElement(String element)
Return true if this
Configuration contains the given element; otherwise, return false; |
boolean |
hasConfigurationElements()
Return true if this
Configuration has any elements; otherwise, return false. |
List<ConfigurationElement> |
listConfigurationElements()
List all
ConfigurationElement s contained in this Configuration . |
void |
removeConfigurationElement(String elementName)
Remove the specified
ConfigurationElement . |
boolean hasConfigurationElements()
Configuration
has any elements; otherwise, return false.boolean hasConfigurationElement(String element)
Configuration
contains the given element; otherwise, return false;ConfigurationElement getConfigurationElement(String element)
ConfigurationElement
, if it exists; otherwise, return null.List<ConfigurationElement> listConfigurationElements()
ConfigurationElement
s contained in this Configuration
. Returns an empty list if none
exist.Configuration addConfigurationElement(ConfigurationElement element)
ConfigurationElement
to this Configuration
.void removeConfigurationElement(String elementName)
ConfigurationElement
.Copyright © 2016 JBoss by Red Hat. All rights reserved.