Interface ResolutionResult


public interface ResolutionResult
Provides access to results of artifact resolution.
Author:
Mikolaj Izdebski
  • Method Details

    • getArtifactPath

      Path getArtifactPath()
      Get resolved artifact file.
      Returns:
      resolved artifact file or null if requested artifact could not be resolved
    • getProvider

      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

      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

      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.