|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.artifacts.maven.Conf2ScopeMapping
public class Conf2ScopeMapping
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 Summary | |
Conf2ScopeMapping(java.lang.Integer priority, Configuration configuration, java.lang.String scope)
Constructs a Conf2ScopeMapping. |
Method Summary | |
---|---|
boolean
|
equals(java.lang.Object o)
|
Configuration
|
getConfiguration()
Returns the dependency configuration name. |
java.lang.Integer
|
getPriority()
Returns the priority. |
java.lang.String
|
getScope()
Returns the Maven scope name. |
int
|
hashCode()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public Conf2ScopeMapping(java.lang.Integer priority, Configuration configuration, java.lang.String scope)
priority
- The priority of this mappingconfiguration
- The configuration namescope
- The Maven scope name
Method Detail |
---|
@Override public boolean equals(java.lang.Object o)
public Configuration getConfiguration()
public java.lang.Integer getPriority()
public java.lang.String getScope()
@Override public int hashCode()
Groovy Documentation