RuntimeDeploymentConfigurator

interface RuntimeDeploymentConfigurator

Interface to configure a runtime deployment.

The runtime deployment is identified by a RuntimeDeploymentIdentifier.

The interface allows a fluent interface / method chaining style to configure the deployment.

Example

deployServices(notificationHosts).withProcessName("notification")

See RuntimeConfigurator to create a runtime deployment and obtain a RuntimeDeploymentConfigurator instance.

Types

Link copied to clipboard
interface Global : RuntimeDeploymentConfigurator

Interface to configure a global runtime deployment.

Link copied to clipboard
interface MultipleInstance : RuntimeDeploymentConfigurator

Interface to configure a multiple instance runtime deployment.

Properties

Link copied to clipboard
abstract var autoRegister: Boolean

If true, this runtime deployment configuration is automatically registered when needed.

Link copied to clipboard
abstract val name: String

Gradle requires that Container objects have a name property. This name corresponds to the RuntimeDeploymentIdentifier.id of the configured RuntimeDeploymentIdentifier.

Functions

Link copied to clipboard
open fun all(): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches all configured hosts.

Link copied to clipboard
open fun allExcept(vararg hosts: IviServiceHostConfig): IviServiceHostMatcher
open fun allExcept(hosts: List<IviServiceHostConfig>): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches all hosts except the given hosts.

Link copied to clipboard
open fun and(vararg matchers: IviServiceHostMatcher): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches only if all the given matchers match.

Link copied to clipboard
abstract fun applyDefaultDeployment(host: IviServiceHostConfig)

Deploys the given host in this runtime deployment and applies the deployment configuration associated to this host.

Link copied to clipboard
abstract fun applyDefaultDeployments(hostMatcher: IviServiceHostMatcher)

Deploys the hosts matching the given hostMatcher in this runtime deployment and applies the deployment configuration associated to these hosts.

abstract fun applyDefaultDeployments(vararg hosts: IviServiceHostConfig)
abstract fun applyDefaultDeployments(hosts: List<IviServiceHostConfig>)

Deploys the given hosts in this runtime deployment and applies the deployment configuration associated to these hosts.

Link copied to clipboard
abstract fun deployServiceHost(host: IviServiceHostConfig): IviServiceHostDeploymentConfigurator

Deploys the given host in this deployment with the default deployment configuration.

Link copied to clipboard
abstract fun deployServiceHosts(hostMatcher: IviServiceHostMatcher): IviServiceHostDeploymentConfigurator

Deploys the hosts matching the given hostMatcher in this deployment with the default deployment configuration.

abstract fun deployServiceHosts(vararg hosts: IviServiceHostConfig): IviServiceHostDeploymentConfigurator
abstract fun deployServiceHosts(hosts: List<IviServiceHostConfig>): IviServiceHostDeploymentConfigurator

Deploys the given hosts in this deployment with the default deployment configuration.

Link copied to clipboard
open fun inList(hosts: List<IviServiceHostConfig>): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches all hosts.

Link copied to clipboard
open fun not(parent: IviServiceHostMatcher): IviServiceHostMatcher

Returns an IviServiceHostMatcher that inverts the logic of the given parent matcher.

Link copied to clipboard
open fun or(vararg matchers: IviServiceHostMatcher): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches if at least one of the given matchers matches.

Link copied to clipboard
open fun withTag(tag: String): IviServiceHostMatcher

Returns an IviServiceHostMatcher that matches all configured hosts that have the given tag.

Inheritors

Link copied to clipboard
Link copied to clipboard