Package org.fedoraproject.xmvn.resolver
Interface ResolutionResult
-
- All Known Implementing Classes:
DefaultResolutionResult
public interface ResolutionResult
Provides access to results of artifact resolution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.Path
getArtifactPath()
Get resolved artifact file.java.lang.String
getCompatVersion()
Get compatibility version of resolved artifact.java.lang.String
getNamespace()
Get namespace of resolved artifact, if any.java.lang.String
getProvider()
Get name of system package providing requested artifact.
-
-
-
Method Detail
-
getArtifactPath
java.nio.file.Path getArtifactPath()
Get resolved artifact file.- Returns:
- resolved artifact file or
null
if requested artifact could not be resolved
-
getProvider
java.lang.String getProvider()
Get name of system package providing requested artifact.- Returns:
- name of system package providing requested artifact or
null
if information about artifact provider is not available
-
getCompatVersion
java.lang.String getCompatVersion()
Get compatibility version of resolved artifact.Compatibility version is defined only when resolved artifact version is not default version of the artifact in the system.
- Returns:
- compatibility version of resolved artifact or
null
if default artifact version was resolved
-
getNamespace
java.lang.String getNamespace()
Get namespace of resolved artifact, if any.- Returns:
- namespace of repository from which the artifact was resolved or
null
if artifact was not resolved from any repository or the repository does not have associated namespace.
-
-