IviInstanceContainer

interface IviInstanceContainer : NamedDomainObjectContainer<IviInstanceConfigurator>

Gradle container for IviInstanceConfigurators.

Extends the standard NamedDomainObjectContainer with some methods to create and obtain the containers in a more type safe fashion.

Inherited properties

Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
abstract fun create(iviInstanceIdentifier: IviInstanceIdentifier): IviInstanceConfigurator
abstract fun create(iviInstanceIdentifier: IviInstanceIdentifier, action: Action<IviInstanceConfigurator>): IviInstanceConfigurator

Creates an IVI instance configuration for the given iviInstanceIdentifier.

Link copied to clipboard

Returns the IviInstanceConfigurator for the existing iviInstanceIdentifier.

The action can be used to configure the IviInstanceConfigurator for the existing iviInstanceIdentifier through a lambda.

Link copied to clipboard
abstract fun maybeCreate(iviInstanceIdentifier: IviInstanceIdentifier): IviInstanceConfigurator
abstract fun maybeCreate(iviInstanceIdentifier: IviInstanceIdentifier, action: Action<IviInstanceConfigurator>): IviInstanceConfigurator

Creates an IVI instance configuration for the given iviInstanceIdentifier, if it does not exist already.

Inherited functions

Link copied to clipboard
abstract override fun add(element: IviInstanceConfigurator): Boolean
Link copied to clipboard
abstract override fun addAll(elements: Collection<IviInstanceConfigurator>): Boolean
Link copied to clipboard
abstract fun addAllLater(provider: Provider<out MutableIterable<IviInstanceConfigurator>>)
Link copied to clipboard
abstract fun addLater(provider: Provider<out IviInstanceConfigurator>)
Link copied to clipboard
abstract fun addRule(rule: Rule): Rule
abstract fun addRule(description: String, ruleAction: Closure<Any>): Rule
abstract fun addRule(description: String, ruleAction: Action<String>): Rule
Link copied to clipboard
abstract fun all(action: Closure<Any>)
abstract fun all(action: Action<in IviInstanceConfigurator>)
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract override fun configure(configureClosure: Closure<Any>): NamedDomainObjectContainer<IviInstanceConfigurator>
Link copied to clipboard
abstract fun configureEach(action: Action<in IviInstanceConfigurator>)
Link copied to clipboard
abstract operator fun contains(element: IviInstanceConfigurator): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun create(name: String, configureClosure: Closure<Any>): IviInstanceConfigurator
abstract fun create(name: String, configureAction: Action<in IviInstanceConfigurator>): IviInstanceConfigurator
Link copied to clipboard
abstract override fun findAll(spec: Closure<Any>): MutableSet<IviInstanceConfigurator>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getAt(name: String): IviInstanceConfigurator
Link copied to clipboard
abstract fun getByName(name: String, configureClosure: Closure<Any>): IviInstanceConfigurator
abstract fun getByName(name: String, configureAction: Action<in IviInstanceConfigurator>): IviInstanceConfigurator
Link copied to clipboard
@Internal
abstract fun getCollectionSchema(): NamedDomainObjectCollectionSchema
Link copied to clipboard
abstract fun getNamer(): Namer<IviInstanceConfigurator>
Link copied to clipboard
abstract fun getNames(): SortedSet<String>
Link copied to clipboard
abstract fun getRules(): MutableList<Rule>
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<IviInstanceConfigurator>
Link copied to clipboard
abstract override fun matching(spec: Closure<Any>): NamedDomainObjectSet<IviInstanceConfigurator>
abstract override fun matching(spec: Spec<in IviInstanceConfigurator>): NamedDomainObjectSet<IviInstanceConfigurator>
Link copied to clipboard
Link copied to clipboard
abstract fun named(name: String): NamedDomainObjectProvider<IviInstanceConfigurator>
abstract fun <S : IviInstanceConfigurator> named(name: String, type: Class<S>): NamedDomainObjectProvider<S>
abstract fun named(name: String, configurationAction: Action<in IviInstanceConfigurator>): NamedDomainObjectProvider<IviInstanceConfigurator>
abstract fun <S : IviInstanceConfigurator> named(name: String, type: Class<S>, configurationAction: Action<in S>): NamedDomainObjectProvider<S>
Link copied to clipboard
Link copied to clipboard
abstract fun register(name: String): NamedDomainObjectProvider<IviInstanceConfigurator>
abstract fun register(name: String, configurationAction: Action<in IviInstanceConfigurator>): NamedDomainObjectProvider<IviInstanceConfigurator>
Link copied to clipboard
abstract fun remove(element: IviInstanceConfigurator): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>
Link copied to clipboard
abstract fun whenObjectAdded(action: Closure<Any>)
abstract fun whenObjectAdded(action: Action<in IviInstanceConfigurator>): Action<in IviInstanceConfigurator>
Link copied to clipboard
abstract fun whenObjectRemoved(action: Closure<Any>)
abstract fun whenObjectRemoved(action: Action<in IviInstanceConfigurator>): Action<in IviInstanceConfigurator>
Link copied to clipboard
abstract fun <S : IviInstanceConfigurator> withType(type: Class<S>, @DelegatesTo(genericTypeIndex = 0) configureClosure: Closure<Any>): DomainObjectCollection<S>
abstract fun <S : IviInstanceConfigurator> withType(type: Class<S>, configureAction: Action<in S>): DomainObjectCollection<S>
abstract override fun <S : IviInstanceConfigurator> withType(type: Class<S>): NamedDomainObjectSet<S>