KfxExtension

interface KfxExtension : PolymorphicDomainObjectContainer<Kfx> (source)

Properties

Link copied to clipboard
abstract override val asMap: SortedMap<String, Kfx>
Link copied to clipboard
@get:Internal
abstract override val collectionSchema: NamedDomainObjectCollectionSchema
Link copied to clipboard
abstract override val namer: Namer<Kfx>
Link copied to clipboard
abstract override val names: SortedSet<String>
Link copied to clipboard
abstract override val rules: List<Rule>
Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
abstract fun add(e: Kfx): Boolean
Link copied to clipboard
abstract fun addAll(c: Collection<out Kfx>): Boolean
Link copied to clipboard
abstract fun addAllLater(provider: Provider<out Iterable<Kfx>>)
Link copied to clipboard
abstract fun addLater(provider: Provider<out Kfx>)
Link copied to clipboard
abstract fun addRule(rule: Rule): Rule
abstract fun addRule(description: String, ruleAction: Closure<*>): Rule
abstract fun addRule(description: String, ruleAction: Action<String>): Rule
Link copied to clipboard
abstract fun all(action: Closure<*>)
abstract fun all(action: Action<in Kfx>)
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun configure(configureClosure: Closure<*>): NamedDomainObjectContainer<Kfx>
Link copied to clipboard
abstract fun configureEach(action: Action<in Kfx>)
Link copied to clipboard
abstract fun <U : Kfx> containerWithType(type: Class<U>): NamedDomainObjectContainer<U>
Link copied to clipboard
abstract operator fun contains(element: Kfx): Boolean
Link copied to clipboard
abstract fun containsAll(elements: Collection<Kfx>): Boolean
Link copied to clipboard
abstract fun create(name: String): Kfx
abstract fun create(name: String, configureClosure: Closure<*>): Kfx
abstract fun create(name: String, configureAction: Action<in Kfx>): Kfx
abstract fun <U : Kfx> create(name: String, type: Class<U>): U
abstract fun <U : Kfx> create(name: String, type: Class<U>, configuration: Action<in U>): U
Link copied to clipboard
abstract fun findAll(spec: Closure<*>): Set<Kfx>
Link copied to clipboard
abstract fun findByName(name: String): @Nullable Kfx?
Link copied to clipboard
abstract fun getAsMap(): SortedMap<String, Kfx>
Link copied to clipboard
abstract fun getAt(name: String): Kfx
Link copied to clipboard
abstract fun getByName(name: String): Kfx
abstract fun getByName(name: String, configureClosure: Closure<*>): Kfx
abstract fun getByName(name: String, configureAction: Action<in Kfx>): Kfx
Link copied to clipboard
abstract fun getNamer(): Namer<Kfx>
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<Kfx>
Link copied to clipboard
abstract fun matching(spec: Closure<*>): NamedDomainObjectSet<Kfx>
abstract fun matching(spec: Spec<in Kfx>): NamedDomainObjectSet<Kfx>
Link copied to clipboard
abstract fun maybeCreate(name: String): Kfx
abstract fun <U : Kfx> maybeCreate(name: String, type: Class<U>): U
Link copied to clipboard
abstract fun named(name: String): NamedDomainObjectProvider<Kfx>
abstract fun named(nameFilter: Spec<String>): NamedDomainObjectSet<Kfx>
abstract fun <S : Kfx> named(name: String, type: Class<S>): NamedDomainObjectProvider<S>
abstract fun named(name: String, configurationAction: Action<in Kfx>): NamedDomainObjectProvider<Kfx>
abstract fun <S : Kfx> named(name: String, type: Class<S>, configurationAction: Action<in S>): NamedDomainObjectProvider<S>
Link copied to clipboard
abstract fun register(name: String): NamedDomainObjectProvider<Kfx>
abstract fun register(name: String, configurationAction: Action<in Kfx>): NamedDomainObjectProvider<Kfx>
abstract fun <U : Kfx> register(name: String, type: Class<U>): NamedDomainObjectProvider<U>
abstract fun <U : Kfx> register(name: String, type: Class<U>, configurationAction: Action<in U>): NamedDomainObjectProvider<U>
Link copied to clipboard
abstract fun remove(element: Kfx): Boolean
Link copied to clipboard
abstract fun removeAll(elements: Collection<Kfx>): Boolean
Link copied to clipboard
abstract fun retainAll(elements: Collection<Kfx>): Boolean
Link copied to clipboard
abstract fun whenObjectAdded(action: Closure<*>)
abstract fun whenObjectAdded(action: Action<in Kfx>): Action<in Kfx>
Link copied to clipboard
abstract fun whenObjectRemoved(action: Closure<*>)
abstract fun whenObjectRemoved(action: Action<in Kfx>): Action<in Kfx>
Link copied to clipboard
abstract fun <S : Kfx> withType(type: Class<S>): NamedDomainObjectSet<S>
abstract fun <S : Kfx> withType(type: Class<S>, @DelegatesTo(genericTypeIndex = 0) configureClosure: Closure<*>): DomainObjectCollection<S>
abstract fun <S : Kfx> withType(type: Class<S>, configureAction: Action<in S>): DomainObjectCollection<S>