com.innovenso.townplan.dsl.traits.CanConfigureConfigurer.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of innovenso-townplanner-dsl Show documentation
Show all versions of innovenso-townplanner-dsl Show documentation
Domain Specific Language for the Innovenso Townplanner
package com.innovenso.townplan.dsl.traits
import static groovy.lang.Closure.DELEGATE_ONLY
trait CanConfigureConfigurer {
public T configureConfigurer(T actualConfigurer, Closure configurerClosure) {
configurerClosure.delegate = actualConfigurer
configurerClosure.resolveStrategy = DELEGATE_ONLY
configurerClosure.call()
return actualConfigurer
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy