Class UpdateProjectVersionCustomizer

    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateProjectVersionCustomizer​(org.jboss.gm.common.Configuration configuration, org.gradle.api.Project rootProject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void customize​(AlignmentService.Response response)
      Changes the response after it is returned by the alignment service.
      int order()
      Integer.MIN_VALUE is the max order.
      • Methods inherited from class java.lang.Object

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

      • UpdateProjectVersionCustomizer

        public UpdateProjectVersionCustomizer​(org.jboss.gm.common.Configuration configuration,
                                              org.gradle.api.Project rootProject)
    • Method Detail

      • order

        public int order()
        Description copied from interface: AlignmentService.Manipulator
        Integer.MIN_VALUE is 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).
        Specified by:
        order in interface AlignmentService.Manipulator
        Returns:
        the order
      • customize

        public void customize​(AlignmentService.Response response)
                       throws org.commonjava.maven.ext.common.ManipulationException
        Description copied from interface: AlignmentService.Manipulator
        Changes the response after it is returned by the alignment service.
        Specified by:
        customize in interface AlignmentService.Manipulator
        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