Package org.jboss.gm.analyzer.alignment
Interface AlignmentService.Manipulator
-
- All Known Implementing Classes:
DependencyOverrideCustomizer,UpdateProjectVersionCustomizer
- Enclosing interface:
- AlignmentService
public static interface AlignmentService.ManipulatorMeant to changeAlignmentService.Responseafter it is returned by theAlignmentService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcustomize(AlignmentService.Response response)Changes the response after it is returned by the alignment service.default intorder()Integer.MIN_VALUEis the max order.
-
-
-
Method Detail
-
customize
void customize(AlignmentService.Response response) throws org.commonjava.maven.ext.common.ManipulationException
Changes the response after it is returned by the alignment service.- Parameters:
response- the resulting aligned dependencies from the dependency analyzer- Throws:
org.commonjava.maven.ext.common.ManipulationException- if an error occurs looking up the versions
-
order
default int order()
Integer.MIN_VALUEis the max order. This means that if we have two services, and we want the first one to be invoked before the second, we would give the first one a value for order that is smaller than that of the second one (for example 0 and 10, respectively).- Returns:
- the order
-
-