An immutable mapping to map a dependency configuration to a Maven scope. This class has implemented equality and hashcode based on its values not on object identity.
Constructor and description |
---|
Conf2ScopeMapping
(Integer priority, Configuration configuration, String scope) Constructs a Conf2ScopeMapping . |
Type | Name and description |
---|---|
boolean |
equals(Object o) |
Configuration |
getConfiguration() Returns the dependency configuration name. |
Integer |
getPriority() Returns the priority. |
String |
getScope() Returns the Maven scope name. |
int |
hashCode() |
Constructs a Conf2ScopeMapping
.
priority
- The priority of this mappingconfiguration
- The configuration namescope
- The Maven scope nameGradle API 2.2-20140924021627+0000