|
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 ConfigurationElement s 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)
Configuration
ConfigurationElement
, if it exists; otherwise, return null.
getConfigurationElement
in interface Configuration
public boolean hasConfigurationElement(String configElement)
Configuration
Configuration
contains the given element; otherwise, return false;
hasConfigurationElement
in interface Configuration
public boolean hasConfigurationElements()
Configuration
Configuration
has any elements; otherwise, return false.
hasConfigurationElements
in interface Configuration
public List<ConfigurationElement> listConfigurationElements()
Configuration
ConfigurationElement
s contained in this Configuration
. Returns an empty list if none
exist.
listConfigurationElements
in interface Configuration
public Configuration addConfigurationElement(ConfigurationElement element)
Configuration
ConfigurationElement
to this Configuration
.
addConfigurationElement
in interface Configuration
public void removeConfigurationElement(String elementName)
Configuration
ConfigurationElement
.
removeConfigurationElement
in interface Configuration
public 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 |