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 to configure a global runtime deployment.

Link copied to clipboard

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

Returns an IviServiceHostMatcher that matches all configured hosts.

Link copied to clipboard

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

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

Link copied to clipboard

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)

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

Link copied to clipboard

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

Link copied to clipboard

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

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

Link copied to clipboard

Returns an IviServiceHostMatcher that matches all hosts.

Link copied to clipboard

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

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

Inheritors

Link copied to clipboard
Link copied to clipboard