com.innovenso.townplan.dsl.traits.HasOptionalCapabilityKey.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.concepts.capability.BusinessCapabilityConfigurer
import lombok.NonNull
trait HasOptionalCapabilityKey {
String capability
void capability(@NonNull String capability) {
this.capability = capability
}
void capability(@NonNull BusinessCapabilityConfigurer capabilityConfigurer) {
this.capability = capabilityConfigurer.key
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy