All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reactor.groovy.config.ReactorScriptWrapper.groovy Maven / Gradle / Ivy

There is a newer version: 2.0.8.RELEASE
Show newest version
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