Class ConfigurationIntersection
java.lang.Object
org.apache.ivy.util.extendable.UnmodifiableExtendableItem
org.apache.ivy.util.extendable.DefaultExtendableItem
org.apache.ivy.core.module.descriptor.Configuration
org.apache.ivy.core.module.descriptor.ConfigurationIntersection
- All Implemented Interfaces:
InheritableItem, ExtendableItem
A configuration which is actually the intersection of several configurations.
-
Nested Class Summary
Nested classes/interfaces inherited from class Configuration
Configuration.Visibility -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationIntersection(String confName, Map<String, Configuration> intersectedConfs) -
Method Summary
Modifier and TypeMethodDescriptiongetIntersectedConfiguration(String confName) Returns the intersectedConfigurationobject for the given conf name, ornullif the given conf name is not part of this intersection or if this conf name isn't defined in the module in which this intersection has been built.String[]Returns the list of configurations' names this object is an intersection of.Methods inherited from class Configuration
equals, findConfigurationExtending, getDeprecated, getDescription, getExtends, getName, getSourceModule, hashCode, isTransitive, replaceWildcards, toStringMethods inherited from class DefaultExtendableItem
setExtraAttributeMethods inherited from class UnmodifiableExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setStandardAttribute
-
Constructor Details
-
ConfigurationIntersection
-
-
Method Details
-
getIntersectedConfigurationNames
Returns the list of configurations' names this object is an intersection 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
nullwhen accessed fromgetIntersectedConfiguration(String).- Returns:
- the list of configurations' names this object is an intersection of.
-
getIntersectedConfiguration
Returns the intersectedConfigurationobject for the given conf name, ornullif the given conf name is not part of this intersection or if this conf name isn't defined in the module in which this intersection has been built.- Parameters:
confName- the name of the configuration to return.- Returns:
- the intersected
Configurationobject for the given conf name
-
getVisibility
- Overrides:
getVisibilityin classConfiguration- Returns:
- Returns the visibility. Never null.
-