org.apache.ivy.plugins.parser.m2

Class PomModuleDescriptorWriter.ConfigurationScopeMapping

public static class PomModuleDescriptorWriter.ConfigurationScopeMapping extends Object

Constructor Summary
ConfigurationScopeMapping(Map scopesMapping)
Method Summary
StringgetScope(String[] confs)
Returns the scope mapped to the given configuration array.
booleanisOptional(String[] confs)

Constructor Detail

ConfigurationScopeMapping

public ConfigurationScopeMapping(Map scopesMapping)

Method Detail

getScope

public String getScope(String[] confs)
Returns the scope mapped to the given configuration array.

Parameters: confs the configurations for which the scope should be returned

Returns: the scope to which the conf is mapped

isOptional

public boolean isOptional(String[] confs)