org.apache.ivy.core.module.descriptor

Class ConfigurationGroup

public class ConfigurationGroup extends Configuration

A configuration which is actually a group of several configurations.
Constructor Summary
ConfigurationGroup(String confName, Map members)
Method Summary
ConfigurationgetMemberConfiguration(String confName)
Returns the Configuration object for the given conf name, or null if the given conf name is not part of this group or if this conf name isn't defined in the module in which this group has been built.
String[]getMembersConfigurationNames()
Returns the list of configurations' names this object is a group of.
VisibilitygetVisibility()

Constructor Detail

ConfigurationGroup

public ConfigurationGroup(String confName, Map members)

Method Detail

getMemberConfiguration

public Configuration getMemberConfiguration(String confName)
Returns the Configuration object for the given conf name, or null if the given conf name is not part of this group or if this conf name isn't defined in the module in which this group has been built.

Parameters: confName the name of the configuration to return.

Returns: the member Configuration object for the given conf name

getMembersConfigurationNames

public String[] getMembersConfigurationNames()
Returns the list of configurations' names this object is a group of.

This list is built from the configuration name, if some of these configuration names have actually not been recognized in the module, they will be null when accessed from ConfigurationGroup.

Returns: the list of configurations' names this object is an intersection of.

getVisibility

public Visibility getVisibility()