Package org.jboss.gm.analyzer.alignment
Class DAAlignmentService
- java.lang.Object
-
- org.jboss.gm.analyzer.alignment.DAAlignmentService
-
- All Implemented Interfaces:
AlignmentService
public class DAAlignmentService extends java.lang.Object implements AlignmentService
An implementation ofAlignmentServicethat uses the Dependency Analyzer service in order to get the proper aligned versions of dependencies (as well as the version of the project itself). The heavy lifting is done byDefaultTranslator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.gm.analyzer.alignment.AlignmentService
AlignmentService.Request, AlignmentService.RequestCustomizer, AlignmentService.Response, AlignmentService.ResponseCustomizer
-
-
Constructor Summary
Constructors Constructor Description DAAlignmentService(org.jboss.gm.common.Configuration configuration)Constructs a new Dependency Analyzer service with the given configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlignmentService.Responsealign(AlignmentService.Request request)Performs the alignment of the given request.
-
-
-
Method Detail
-
align
public AlignmentService.Response align(AlignmentService.Request request) throws org.commonjava.maven.ext.io.rest.RestException
Performs the alignment of the given request.- Specified by:
alignin interfaceAlignmentService- 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.io.rest.RestException- if an error occurs looking up the versions.
-
-