Class WithCustomizersDelegatingAlignmentService

    • Constructor Detail

      • WithCustomizersDelegatingAlignmentService

        public WithCustomizersDelegatingAlignmentService​(DAAlignmentService delegate,
                                                         java.util.List<AlignmentService.RequestCustomizer> requestCustomizers,
                                                         java.util.List<AlignmentService.ResponseCustomizer> responseCustomizers)
        Creates a new alignment service that delegates to the given alignment service.
        Parameters:
        delegate - the alignment service to delegate to
        requestCustomizers - the list of request customizers
        responseCustomizers - the list of response customizers
    • Method Detail

      • align

        public AlignmentService.Response align​(AlignmentService.Request request)
                                        throws org.commonjava.maven.ext.common.ManipulationException
        Description copied from interface: AlignmentService
        Performs the alignment of the given request.
        Specified by:
        align in interface AlignmentService
        Parameters:
        request - both the collected project dependencies GAVs and the project GAVs
        Returns:
        the resulting aligned dependencies from the dependency analyzer
        Throws:
        org.commonjava.maven.ext.common.ManipulationException - if an error occurs when looking up GAVs