|
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 MavenFormatStage
Represents the formatting stage of Maven-based resolution in which the resolved artifact is returned in the desired
format. Supports extensible formats by optionally supplying a FormatProcessor
| Method Summary | |
|---|---|
ResolvedArtifactInfo[] |
as(Class<ResolvedArtifactInfo> type)
Formats the resultant artifacts as an array of ResolvedArtifactInfos. |
ResolvedArtifactInfo |
asSingle(Class<ResolvedArtifactInfo> type)
Formats the resultant artifact as a ResolvedArtifactInfo; assumes a single artifact is returned from
resolution. |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.FormatStage |
|---|
as, as, as, asSingle, asSingle, asSingle |
| Method Detail |
|---|
ResolvedArtifactInfo[] as(Class<ResolvedArtifactInfo> type)
throws IllegalArgumentException
ResolvedArtifactInfos. If nothing matches resolution, an
empty array will be returned.
type -
IllegalArgumentException - If the type is not specified
ResolvedArtifactInfo asSingle(Class<ResolvedArtifactInfo> type)
throws IllegalArgumentException,
NonUniqueResultException,
NoResolvedResultException
ResolvedArtifactInfo; assumes a single artifact is returned from
resolution.
type -
IllegalArgumentException - If the type is not specified
NonUniqueResultException - If the resolution resulted in more than one result
NoResolvedResultException - If the resolution did not yield any result
|
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 | |||||||||