Class GroovyUtils


  • public final class GroovyUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void runCustomGroovyScript​(org.slf4j.Logger logger, org.commonjava.maven.ext.core.groovy.InvocationStage targetStage, java.io.File target, Configuration configuration, org.gradle.api.Project rootProject, ManipulationModel alignmentModel)  
      • Methods inherited from class java.lang.Object

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

      • runCustomGroovyScript

        public static void runCustomGroovyScript​(org.slf4j.Logger logger,
                                                 org.commonjava.maven.ext.core.groovy.InvocationStage targetStage,
                                                 java.io.File target,
                                                 Configuration configuration,
                                                 org.gradle.api.Project rootProject,
                                                 ManipulationModel alignmentModel)
                                          throws org.commonjava.maven.ext.common.ManipulationException
        Parameters:
        logger - The logger to use. Note: this is specifically using SLF4J logging to allow interaction with the CLI.
        targetStage - The stage we are running
        target - The target directory to run against.
        configuration - The current configuration object.
        rootProject - The current root project ; may be null.
        alignmentModel - The current model ; may be null.
        Throws:
        org.commonjava.maven.ext.common.ManipulationException - if an error occurs.