RuntimeDeploymentContainer

interface RuntimeDeploymentContainer<C : RuntimeDeploymentConfigurator> : NamedDomainObjectContainer<C>

Gradle container for runtime deployments.

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

Parameters

C

The type of an element in this container, such as RuntimeDeploymentConfigurator.Global or RuntimeDeploymentConfigurator.MultipleInstance.

Inheritors

Types

Link copied to clipboard

Gradle container for global runtime deployments.

Link copied to clipboard

Gradle container for multiple instance runtime deployments.

Inherited properties

Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
abstract fun create(runtimeDeploymentIdentifier: RuntimeDeploymentIdentifier): C

Creates a runtime deployment for the given runtimeDeploymentIdentifier.

abstract fun create(runtimeDeploymentIdentifier: RuntimeDeploymentIdentifier, action: Action<C>): C

Creates a runtime deployment for the given runtimeDeploymentIdentifier. The action can be used to configure the runtime deployment through a lambda.

Inherited functions

Link copied to clipboard
abstract override fun add(element: C): Boolean
Link copied to clipboard
abstract override fun addAll(elements: Collection<C>): Boolean
Link copied to clipboard
abstract fun addAllLater(provider: Provider<out MutableIterable<C>>)
Link copied to clipboard
abstract fun addLater(provider: Provider<out C>)
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 C>)
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract override fun configure(configureClosure: Closure<Any>): NamedDomainObjectContainer<C>
Link copied to clipboard
abstract fun configureEach(action: Action<in C>)
Link copied to clipboard
abstract operator fun contains(element: C): Boolean
Link copied to clipboard
abstract fun containsAll(elements: Collection<C>): Boolean
Link copied to clipboard
abstract fun create(name: String): C
abstract fun create(name: String, configureClosure: Closure<Any>): C
abstract fun create(name: String, configureAction: Action<in C>): C
Link copied to clipboard
abstract override fun findAll(spec: Closure<Any>): MutableSet<C>
Link copied to clipboard
abstract fun findByName(name: String): C?
Link copied to clipboard
open fun forEach(p0: Consumer<in C>)
Link copied to clipboard
abstract fun getAsMap(): SortedMap<String, C>
Link copied to clipboard
abstract fun getAt(name: String): C
Link copied to clipboard
abstract fun getByName(name: String): C
abstract fun getByName(name: String, configureClosure: Closure<Any>): C
abstract fun getByName(name: String, configureAction: Action<in C>): C
Link copied to clipboard
@Internal
abstract fun getCollectionSchema(): NamedDomainObjectCollectionSchema
Link copied to clipboard
abstract fun getNamer(): Namer<C>
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<C>
Link copied to clipboard
abstract override fun matching(spec: Closure<Any>): NamedDomainObjectSet<C>
abstract override fun matching(spec: Spec<in C>): NamedDomainObjectSet<C>
Link copied to clipboard
abstract fun maybeCreate(name: String): C
Link copied to clipboard
abstract fun named(name: String): NamedDomainObjectProvider<C>
abstract fun <S : C> named(name: String, type: Class<S>): NamedDomainObjectProvider<S>
abstract fun named(name: String, configurationAction: Action<in C>): NamedDomainObjectProvider<C>
abstract fun <S : C> named(name: String, type: Class<S>, configurationAction: Action<in S>): NamedDomainObjectProvider<S>
abstract override fun named(nameFilter: Spec<String>): NamedDomainObjectSet<C>
Link copied to clipboard
open fun parallelStream(): Stream<C>
Link copied to clipboard
abstract fun register(name: String): NamedDomainObjectProvider<C>
abstract fun register(name: String, configurationAction: Action<in C>): NamedDomainObjectProvider<C>
Link copied to clipboard
abstract fun remove(element: C): Boolean
Link copied to clipboard
abstract fun removeAll(elements: Collection<C>): Boolean
Link copied to clipboard
open fun removeIf(p0: Predicate<in C>): Boolean
Link copied to clipboard
abstract fun retainAll(elements: Collection<C>): Boolean
Link copied to clipboard
open override fun spliterator(): Spliterator<C>
Link copied to clipboard
open fun stream(): Stream<C>
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 C>): Action<in C>
Link copied to clipboard
abstract fun whenObjectRemoved(action: Closure<Any>)
abstract fun whenObjectRemoved(action: Action<in C>): Action<in C>
Link copied to clipboard
abstract fun <S : C> withType(type: Class<S>, @DelegatesTo(genericTypeIndex = 0) configureClosure: Closure<Any>): DomainObjectCollection<S>
abstract fun <S : C> withType(type: Class<S>, configureAction: Action<in S>): DomainObjectCollection<S>
abstract override fun <S : C> withType(type: Class<S>): NamedDomainObjectSet<S>