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

com.innovenso.townplan.dsl.traits.HasOptionalCapabilityKey.groovy Maven / Gradle / Ivy

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