Class AlignmentService.Request

java.lang.Object
org.jboss.pnc.gradlemanipulator.analyzer.alignment.AlignmentService.Request
Enclosing interface:
AlignmentService

public static class AlignmentService.Request extends Object
Contains both the collected project dependencies GAVs and the project GAVs.

Done this way because currently with DAAlignmentService we have the ability to get both pieces of information with one call.

It might make sense to break this up since other types of AlignmentService implementations might not be able to handle the project GAV.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Request(List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> project, List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> dependencies)
    Creates a new request from the given list of projects and the given list of dependencies.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef>
    The list of dependencies.
    List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef>
    The list of projects.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Request

      public Request(List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> project, List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> dependencies)
      Creates a new request from the given list of projects and the given list of dependencies.
      Parameters:
      project - the list of the projects
      dependencies - the list of dependencies
  • Method Details

    • getProject

      public List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> getProject()
      The list of projects.
      Returns:
      the list of projects
    • getDependencies

      public List<org.commonjava.atlas.maven.ident.ref.ProjectVersionRef> getDependencies()
      The list of dependencies.
      Returns:
      the list of dependencies