|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MavenDependency
Metadata describing a declaration; immutable and Thread-safe.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.maven.coordinate.MavenCoordinate |
|---|
equals, getClassifier, getPackaging, getType, getVersion, hashCode |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.Coordinate |
|---|
toCanonicalForm |
| Method Detail |
|---|
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()
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||