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.

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(p0: Provider<out MutableIterable<C>>)
Link copied to clipboard
abstract fun addLater(p0: Provider<out C>)
Link copied to clipboard
abstract fun addRule(p0: Rule): Rule
abstract fun addRule(p0: String, p1: Closure<Any>): Rule
abstract fun addRule(p0: String, p1: Action<String>): Rule
Link copied to clipboard
abstract fun all(p0: Closure<Any>)
abstract fun all(p0: Action<in C>)
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract override fun configure(p0: Closure<Any>): NamedDomainObjectContainer<C>
Link copied to clipboard
abstract fun configureEach(p0: 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(p0: String): C
abstract fun create(p0: String, p1: Closure<Any>): C
abstract fun create(p0: String, p1: Action<in C>): C
Link copied to clipboard
abstract override fun findAll(p0: Closure<Any>): MutableSet<C>
Link copied to clipboard
abstract fun findByName(p0: 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(p0: String): C
Link copied to clipboard
abstract fun getByName(p0: String): C
abstract fun getByName(p0: String, p1: Closure<Any>): C
abstract fun getByName(p0: String, p1: 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(p0: Closure<Any>): NamedDomainObjectSet<C>
abstract override fun matching(p0: Spec<in C>): NamedDomainObjectSet<C>
Link copied to clipboard
abstract fun maybeCreate(p0: String): C
Link copied to clipboard
abstract fun named(p0: String): NamedDomainObjectProvider<C>
abstract fun <S : C> named(p0: String, p1: Class<S>): NamedDomainObjectProvider<S>
abstract fun named(p0: String, p1: Action<in C>): NamedDomainObjectProvider<C>
abstract fun <S : C> named(    p0: String,     p1: Class<S>,     p2: Action<in S>): NamedDomainObjectProvider<S>
Link copied to clipboard
open fun parallelStream(): Stream<C>
Link copied to clipboard
abstract fun register(p0: String): NamedDomainObjectProvider<C>
abstract fun register(p0: String, p1: 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(p0: Closure<Any>)
abstract fun whenObjectAdded(p0: Action<in C>): Action<in C>
Link copied to clipboard
abstract fun whenObjectRemoved(p0: Closure<Any>)
abstract fun whenObjectRemoved(p0: Action<in C>): Action<in C>
Link copied to clipboard
abstract override fun <S : C> withType(p0: Class<S>): NamedDomainObjectSet<S>
abstract fun <S : C> withType(p0: Class<S>, p1: Closure<Any>): DomainObjectCollection<S>
abstract fun <S : C> withType(p0: Class<S>, p1: Action<in S>): DomainObjectCollection<S>

Inheritors

Link copied to clipboard
Link copied to clipboard