Package org.apache.ivy.util
Class ConfigurationUtils
java.lang.Object
org.apache.ivy.util.ConfigurationUtils
Class containing several utility methods for working with configurations.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
replaceWildcards
(String[] confs, ModuleDescriptor md) Replace the wildcards in the given configuration array, by the name of the given ModuleDescriptor The supported wildcards are: * : all configurations *(public) : all public configurations *(private) : all private configurations If the given array of configurations isnull
, all configurations from the given module descriptor are returned, including if this array is empty.
-
Method Details
-
replaceWildcards
Replace the wildcards in the given configuration array, by the name of the given ModuleDescriptor The supported wildcards are:- * : all configurations
- *(public) : all public configurations
- *(private) : all private configurations
null
, all configurations from the given module descriptor are returned, including if this array is empty.- Parameters:
confs
- the configurations, can contain wildcardsmd
- the configurations where the wildcards are replaced- Returns:
- configurations
-