public interface MavenDependency extends MavenCoordinate
declaration; immutable and Thread-safe.Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the "artifactId" portion of this artifact's coordinates
|
Set<MavenDependencyExclusion> |
getExclusions()
Returns the exclusions defined for this
MavenDependency in an immutable, read-only view. |
String |
getGroupId()
Returns the "groupId" portion of this artifact's coordinates
|
ScopeType |
getScope()
Returns the scope for this
MavenDependency . |
boolean |
isOptional()
Returns whether or not this
MavenDependency has been marked as optional; defaults to
false |
equals, getClassifier, getPackaging, getType, getVersion, hashCode
toCanonicalForm
Set<MavenDependencyExclusion> getExclusions()
MavenDependency
in an immutable, read-only view. If no
exclusions are defined, an empty Set
will be returned.ScopeType getScope()
MavenDependency
. Never returns null; if no scope has been
explicitly-defined, the default ScopeType.COMPILE
will be returned.boolean isOptional()
MavenDependency
has been marked as optional; defaults to
false
String getGroupId()
String getArtifactId()
Copyright © 2013 JBoss by Red Hat. All rights reserved.