reactor.groovy.config.ReactorScriptWrapper.groovy Maven / Gradle / Ivy
package reactor.groovy.config
import groovy.transform.CompileStatic
import static groovy.lang.Closure.DELEGATE_FIRST
/**
* @author Stephane Maldini
*/
@CompileStatic
class ReactorScriptWrapper extends Script {
GroovyEnvironment doWithReactor(@DelegatesTo(strategy = DELEGATE_FIRST, value = GroovyEnvironment) Closure c) {
GroovyEnvironment.create c
}
@Override
Object run() {
super.run()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy