Interface ResolvedDependency

All Superinterfaces:
ArtifactCoords, Dependency, Mappable
All Known Subinterfaces:
ResolvableDependency
All Known Implementing Classes:
ResolvedArtifactDependency, ResolvedDependencyBuilder

public interface ResolvedDependency extends Dependency
  • Method Details

    • getResolvedPaths

      PathCollection getResolvedPaths()
    • getDependencies

      Collection<ArtifactCoords> getDependencies()
      A collection of all the resolved direct dependencies of the artifact of this dependency.

      Note that this method will include only direct dependencies that are found among application dependencies. This is one of the differences between this method and getDirectDependencies().

      Returns:
      all the resolved direct dependencies of the artifact of this dependency
    • getDirectDependencies

      Collection<Dependency> getDirectDependencies()
      A collection of the all the configured direct dependencies of the artifact of this dependency (except test dependencies of transitive dependencies).

      Note that some of the configured direct dependencies might not be resolved due to scope, optionality or exclusions. The resulting collection returned from this method will still include such dependencies with DependencyFlags.MISSING_FROM_APPLICATION flag.

      Every dependency returned from this method will DependencyFlags.DIRECT set.

      Returns:
      all the direct dependencies of the artifact of this dependency
    • isResolved

      default boolean isResolved()
    • getWorkspaceModule

      default WorkspaceModule getWorkspaceModule()
    • getSources

      default ArtifactSources getSources()
    • getContentTree

      default PathTree getContentTree()
    • getContentTree

      default PathTree getContentTree(PathFilter pathFilter)