|
Forge - Parent 1.2.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.forge.maven.plugins.ConfigurationImpl
public class ConfigurationImpl
| Constructor Summary | |
|---|---|
ConfigurationImpl()
|
|
ConfigurationImpl(org.codehaus.plexus.util.xml.Xpp3Dom configXml)
|
|
| Method Summary | |
|---|---|
Configuration |
addConfigurationElement(ConfigurationElement element)
Add a ConfigurationElement to this Configuration. |
ConfigurationElement |
getConfigurationElement(String configElement)
Get the specified ConfigurationElement, if it exists; otherwise, return null. |
boolean |
hasConfigurationElement(String configElement)
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 ConfigurationElements contained in this Configuration. |
void |
removeConfigurationElement(String elementName)
Remove the specified ConfigurationElement. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationImpl()
public ConfigurationImpl(org.codehaus.plexus.util.xml.Xpp3Dom configXml)
| Method Detail |
|---|
public ConfigurationElement getConfigurationElement(String configElement)
ConfigurationConfigurationElement, if it exists; otherwise, return null.
getConfigurationElement in interface Configurationpublic boolean hasConfigurationElement(String configElement)
ConfigurationConfiguration contains the given element; otherwise, return false;
hasConfigurationElement in interface Configurationpublic boolean hasConfigurationElements()
ConfigurationConfiguration has any elements; otherwise, return false.
hasConfigurationElements in interface Configurationpublic List<ConfigurationElement> listConfigurationElements()
ConfigurationConfigurationElements contained in this Configuration. Returns an empty list if none
exist.
listConfigurationElements in interface Configurationpublic Configuration addConfigurationElement(ConfigurationElement element)
ConfigurationConfigurationElement to this Configuration.
addConfigurationElement in interface Configurationpublic void removeConfigurationElement(String elementName)
ConfigurationConfigurationElement.
removeConfigurationElement in interface Configurationpublic String toString()
toString in class Object
|
Forge - Parent 1.2.2-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||