Forge - Parent 1.2.3-SNAPSHOT

org.jboss.forge.maven.plugins
Interface Configuration

All Superinterfaces:
PluginElement
All Known Implementing Classes:
ConfigurationBuilder, ConfigurationImpl

public interface Configuration
extends PluginElement

A Maven plugin Configuration object.

Author:
Paul Bakker

Method Summary
 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 ConfigurationElements contained in this Configuration.
 void removeConfigurationElement(String elementName)
          Remove the specified ConfigurationElement.
 

Method Detail

hasConfigurationElements

boolean hasConfigurationElements()
Return true if this Configuration has any elements; otherwise, return false.


hasConfigurationElement

boolean hasConfigurationElement(String element)
Return true if this Configuration contains the given element; otherwise, return false;


getConfigurationElement

ConfigurationElement getConfigurationElement(String element)
Get the specified ConfigurationElement, if it exists; otherwise, return null.


listConfigurationElements

List<ConfigurationElement> listConfigurationElements()
List all ConfigurationElements contained in this Configuration. Returns an empty list if none exist.


addConfigurationElement

Configuration addConfigurationElement(ConfigurationElement element)
Add a ConfigurationElement to this Configuration.


removeConfigurationElement

void removeConfigurationElement(String elementName)
Remove the specified ConfigurationElement.


Forge - Parent 1.2.3-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.