|
ShrinkWrap Resolver Maven API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.resolver.api.maven.coordinate.MavenDependencies
public final class MavenDependencies
Factory class for creating new MavenDependency instances
| Method Summary | |
|---|---|
static MavenDependency |
createDependency(MavenCoordinate coordinate,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new MavenDependency instance from the specified properties. |
static MavenDependency |
createDependency(String canonicalForm,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
Creates a new MavenDependency instance from the specified, required canonical form in format
, with the additional, optional
properties. |
static MavenDependencyExclusion |
createExclusion(String canonicalForm)
Creates a new MavenDependencyExclusion instance from the specified, required canonical form in format
|
static MavenDependencyExclusion |
createExclusion(String groupId,
String artifactId)
Creates a new MavenDependencyExclusion instance from the specified, required arguments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MavenDependency createDependency(String canonicalForm,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
throws IllegalArgumentException,
CoordinateParseException
MavenDependency instance from the specified, required canonical form in format
:[:[:]][:] , with the additional, optional
properties. If no ScopeType is specified, default will be ScopeType.COMPILE.
canonicalForm - scope - optional - exclusions -
IllegalArgumentException - If the canonical form is not supplied
CoordinateParseException - If the specified canonical form is not valid
public static MavenDependency createDependency(MavenCoordinate coordinate,
ScopeType scope,
boolean optional,
MavenDependencyExclusion... exclusions)
throws IllegalArgumentException,
CoordinateParseException
MavenDependency instance from the specified properties. If no ScopeType is
specified, default will be ScopeType.COMPILE.
coordinate - scope - optional - exclusions -
IllegalArgumentException - If the coordinate is not supplied
CoordinateParseException - If the specified canonical form is not valid
public static MavenDependencyExclusion createExclusion(String canonicalForm)
throws IllegalArgumentException,
CoordinateParseException
MavenDependencyExclusion instance from the specified, required canonical form in format
:
canonicalForm -
IllegalArgumentException - If the canonical form is not supplied
CoordinateParseException - If the canonical form is not in the correct format
public static MavenDependencyExclusion createExclusion(String groupId,
String artifactId)
throws IllegalArgumentException
MavenDependencyExclusion instance from the specified, required arguments
canonicalForm -
IllegalArgumentException - If either argument is not specified
|
ShrinkWrap Resolver Maven API 2.0.0-alpha-3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||