property
abstract fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<ELEMENT>, IterValues>)(source)
updates existing entities with property
open fun property(entity: Entity.Type, key: String, extract: Action<Iter<ELEMENT>, IterValues>)(source)
open fun property(key: String, extract: Action<Iter<ELEMENT>, IterValues>): Property<ELEMENT>(source)
abstract fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<ELEMENT>, IterValues>): Property<ELEMENT>(source)
Associates entity property tag with result of extract action.
Example
entity(endpoint, label("\${http-method} \${path}"),
property("http-method", readAnnotation(Endpoint::method)),
property("path", readAnnotation(Endpoint::path)))
Content copied to clipboard