Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.artifacts.maven
Class Conf2ScopeMapping

    java.lang.Object
      org.gradle.api.artifacts.maven.Conf2ScopeMapping

    public class Conf2ScopeMapping

extends java.lang.Object

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.

See Also:
  `Conf2ScopeMappingContainer`

Constructor Summary
`Conf2ScopeMapping(java.lang.Integer priority, Configuration configuration, java.lang.String scope)`

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
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Conf2ScopeMapping

    public Conf2ScopeMapping(java.lang.Integer priority,
                             Configuration configuration,
                             java.lang.String scope)

Parameters:
  `priority` - The priority of this mapping
  `configuration` - The configuration name
  `scope` - The Maven scope name

Method Detail

### getPriority

    public java.lang.Integer getPriority()

  Returns the priority

### getConfiguration

    public Configuration getConfiguration()

  Returns the dependency configuration name

### getScope

    public java.lang.String getScope()

  Returns the Maven scope name.

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD