Class AlignmentService.Request

  • Enclosing interface:
    AlignmentService

    public static class AlignmentService.Request
    extends java.lang.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​(java.util.List<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> project, java.util.List<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> dependencies)
      Creates a new request from the given list of projects and the given list of dependencies.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> getDependencies()
      The list of dependencies.
      java.util.List<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> getProject()
      The list of projects.
      • Methods inherited from class java.lang.Object

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

      • Request

        public Request​(java.util.List<org.commonjava.maven.atlas.ident.ref.ProjectVersionRef> project,
                       java.util.List<org.commonjava.maven.atlas.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 Detail

      • getProject

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

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