public class MultipleArtifactsNotFoundException extends ArtifactResolutionException
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Artifact> |
missingArtifacts |
private java.util.List<Artifact> |
resolvedArtifacts |
LS| Constructor and Description |
|---|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
java.util.List<Artifact> resolvedArtifacts,
java.util.List<Artifact> missingArtifacts,
java.util.List<ArtifactRepository> remoteRepositories)
Create an instance of the exception with allrequired information.
|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
java.util.List<Artifact> missingArtifacts,
java.util.List<ArtifactRepository> remoteRepositories)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
constructMessage(java.util.List<Artifact> artifacts) |
java.util.List<Artifact> |
getMissingArtifacts()
artifacts that could NOT be resolved
|
java.util.List<Artifact> |
getResolvedArtifacts()
artifacts that could be resolved
|
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersionprivate final java.util.List<Artifact> resolvedArtifacts
private final java.util.List<Artifact> missingArtifacts
@Deprecated public MultipleArtifactsNotFoundException(Artifact originatingArtifact, java.util.List<Artifact> missingArtifacts, java.util.List<ArtifactRepository> remoteRepositories)
MultipleArtifactsNotFoundException(Artifact, List, List, List)public MultipleArtifactsNotFoundException(Artifact originatingArtifact, java.util.List<Artifact> resolvedArtifacts, java.util.List<Artifact> missingArtifacts, java.util.List<ArtifactRepository> remoteRepositories)
originatingArtifact - the artifact that was being resolvedresolvedArtifacts - artifacts that could be resolvedmissingArtifacts - artifacts that could not be resolvedremoteRepositories - remote repositories where the missing artifacts were not foundpublic java.util.List<Artifact> getResolvedArtifacts()
List of Artifactpublic java.util.List<Artifact> getMissingArtifacts()
List of Artifactprivate static java.lang.String constructMessage(java.util.List<Artifact> artifacts)