com.innovenso.townplan.dsl.traits.HasArchitectureVerdict.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 com.innovenso.townplan.dsl.TownPlanConfigurer
import com.innovenso.townplan.dsl.aspects.verdict.ArchitectureVerdictAspectConfigurer
import static groovy.lang.Closure.DELEGATE_ONLY
trait HasArchitectureVerdict extends CanConfigureConfigurer {
abstract String getKey();
abstract TownPlanConfigurer getTownPlanConfigurer();
void architectureVerdict(@DelegatesTo(value = ArchitectureVerdictAspectConfigurer, strategy = DELEGATE_ONLY) Closure configurer) {
getTownPlanConfigurer().architectureVerdict configureConfigurer(new ArchitectureVerdictAspectConfigurer(townPlanConfigurer, getKey()), configurer)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy