public interface ArtifactsProcessor
Artifact
s.ArtifactMojo
Modifier and Type | Method and Description |
---|---|
Collection<? extends Artifact> |
process(MavenProject project,
Collection<? extends Artifact> artifacts,
Log log)
Performs some operation on the supplied
Collection of
Artifact s in the context of the supplied MavenProject and returns a Collection of Artifact s representing the result. |
Collection<? extends Artifact> process(MavenProject project, Collection<? extends Artifact> artifacts, Log log) throws ArtifactsProcessingException
Collection
of
Artifact
s in the context of the supplied MavenProject
and returns a Collection
of Artifact
s representing the result.
Implementations of this method are permitted to return null
.
Implementations of this method are permitted to return the
supplied Collection
of Artifact
s.
Implementations of this method are permitted to mutate the
supplied Collection
and/or any of its elements.
Implementations of this method must not mutate the supplied
MavenProject
.
project
- the MavenProject
in the context of which
processing will take place; must not be null
artifacts
- the Artifact
s to process; may be null
log
- the Log
to use when logging; may be null
Collection
of Artifact
s representing
the result of processing, or null
ArtifactsProcessingException
- if an error occursArtifactMojo
,
Artifact
,
MavenProject
Copyright © 2013–2015, Laird Nelson. All rights reserved.