|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.
Conf2ScopeMappingContainer| Constructor Summary | |
|---|---|
Conf2ScopeMapping(Integer priority,
Configuration configuration,
String scope)
Constructs a Conf2ScopeMapping. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Conf2ScopeMapping(Integer priority,
Configuration configuration,
String scope)
Conf2ScopeMapping.
priority - The priority of this mappingconfiguration - The configuration namescope - The Maven scope name| Method Detail |
|---|
public Integer getPriority()
public Configuration getConfiguration()
public String getScope()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||