Package org.apache.maven.repository
Class MetadataResolutionResult
java.lang.Object
org.apache.maven.repository.MetadataResolutionResult
- Author:
- Oleg Gusakov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArtifact
(Artifact artifact) addMissingArtifact
(Artifact artifact) void
addRequestedArtifact
(Artifact artifact) TODO this needs to accept aOverConstrainedVersionException
as returned bygetVersionRangeViolation(int)
but it's not used like that inDefaultLegacyArtifactCollector
getVersionRangeViolation
(int i) boolean
boolean
boolean
boolean
boolean
boolean
listOriginatingArtifact
(Artifact originatingArtifact) setRepositories
(List<ArtifactRepository> repositories) void
setResolvedTree
(MetadataGraph resolvedTree) setUnresolvedArtifacts
(List<Artifact> unresolvedArtifacts) toString()
-
Constructor Details
-
MetadataResolutionResult
public MetadataResolutionResult()
-
-
Method Details
-
getOriginatingArtifact
-
listOriginatingArtifact
-
addArtifact
-
getArtifacts
-
addRequestedArtifact
-
getRequestedArtifacts
-
hasMissingArtifacts
public boolean hasMissingArtifacts() -
getMissingArtifacts
-
addMissingArtifact
-
setUnresolvedArtifacts
-
hasExceptions
public boolean hasExceptions() -
getExceptions
-
hasVersionRangeViolations
public boolean hasVersionRangeViolations() -
addVersionRangeViolation
TODO this needs to accept aOverConstrainedVersionException
as returned bygetVersionRangeViolation(int)
but it's not used like that inDefaultLegacyArtifactCollector
-
getVersionRangeViolation
-
getVersionRangeViolations
-
hasMetadataResolutionExceptions
public boolean hasMetadataResolutionExceptions() -
addMetadataResolutionException
-
getMetadataResolutionException
-
getMetadataResolutionExceptions
-
hasErrorArtifactExceptions
public boolean hasErrorArtifactExceptions() -
addError
-
getErrorArtifactExceptions
-
hasCircularDependencyExceptions
public boolean hasCircularDependencyExceptions() -
addCircularDependencyException
-
getCircularDependencyException
-
getCircularDependencyExceptions
-
getRepositories
-
setRepositories
-
toString
-
getResolvedTree
-
setResolvedTree
-