|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.graph.Exclusion
public final class Exclusion
An exclusion of one or more transitive dependencies. Note: Instances of this class are immutable and the exposed mutators return new objects rather than changing the current instance.
Dependency.getExclusions()
Constructor Summary | |
---|---|
Exclusion(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String classifier,
java.lang.String extension)
Creates an exclusion for artifacts with the specified coordinates. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getArtifactId()
Gets the artifact identifier for artifacts to exclude. |
java.lang.String |
getClassifier()
Gets the classifier for artifacts to exclude. |
java.lang.String |
getExtension()
Gets the file extension for artifacts to exclude. |
java.lang.String |
getGroupId()
Gets the group identifier for artifacts to exclude. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Exclusion(java.lang.String groupId, java.lang.String artifactId, java.lang.String classifier, java.lang.String extension)
groupId
- The group identifier, may be null
.artifactId
- The artifact identifier, may be null
.classifier
- The classifier, may be null
.extension
- The file extension, may be null
.Method Detail |
---|
public java.lang.String getGroupId()
null
.public java.lang.String getArtifactId()
null
.public java.lang.String getClassifier()
null
.public java.lang.String getExtension()
null
.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |