Interface AlignmentService.Manipulator
- All Known Implementing Classes:
DependencyOverrideCustomizer,UpdateProjectVersionCustomizer
- Enclosing interface:
- AlignmentService
public static interface AlignmentService.Manipulator
Meant to change
AlignmentService.Response after it is returned by
the AlignmentService-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(AlignmentService.Response response) Changes the response after it is returned by the alignment service.default intorder()Integer.MIN_VALUEis the max order.
-
Method Details
-
customize
void customize(AlignmentService.Response response) throws org.jboss.pnc.mavenmanipulator.common.exception.ManipulationException Changes the response after it is returned by the alignment service.- Parameters:
response- the resulting aligned dependencies from the dependency analyzer- Throws:
org.jboss.pnc.mavenmanipulator.common.exception.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
-