Package org.fedoraproject.xmvn.resolver
Interface ResolutionResult
-
- All Known Implementing Classes:
DefaultResolutionResult
public interface ResolutionResultProvides access to results of artifact resolution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.file.PathgetArtifactPath()Get resolved artifact file.java.lang.StringgetCompatVersion()Get compatibility version of resolved artifact.java.lang.StringgetNamespace()Get namespace of resolved artifact, if any.java.lang.StringgetProvider()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
nullif 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
nullif 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
nullif 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
nullif artifact was not resolved from any repository or the repository does not have associated namespace.
-
-