public final class Exclusion extends Object
Dependency.getExclusions()
Constructor and Description |
---|
Exclusion(String groupId,
String artifactId,
String classifier,
String extension)
Creates an exclusion for artifacts with the specified coordinates.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArtifactId()
Gets the artifact identifier for artifacts to exclude.
|
String |
getClassifier()
Gets the classifier for artifacts to exclude.
|
String |
getExtension()
Gets the file extension for artifacts to exclude.
|
String |
getGroupId()
Gets the group identifier for artifacts to exclude.
|
int |
hashCode() |
String |
toString() |
public Exclusion(String groupId, String artifactId, String classifier, 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
.public String getGroupId()
null
.public String getArtifactId()
null
.public String getClassifier()
null
.public String getExtension()
null
.Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.