Global

interface Global : RuntimeDeploymentConfigurator

Interface to configure a global runtime deployment.

A global runtime deployment only contains global IVI service hosts.

Inherited 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
abstract fun deployAndroidService(vararg androidServices: AndroidServiceConfig): AndroidServiceDeploymentConfigurator
abstract fun deployAndroidService(androidServices: List<AndroidServiceConfig>): AndroidServiceDeploymentConfigurator

Allows the Android services referenced by androidServices to be configured to run in a specific process. The process name can be configured by the returned AndroidServiceDeploymentConfigurator.

Link copied to clipboard
abstract fun deployBroadcastReceiver(vararg broadcastReceivers: BroadcastReceiverConfig): BroadcastReceiverDeploymentConfigurator
abstract fun deployBroadcastReceiver(broadcastReceivers: List<BroadcastReceiverConfig>): BroadcastReceiverDeploymentConfigurator

Allows the broadcast receivers referenced by broadcastReceivers to be configured to run in a specific process. The process name can be configured by the returned BroadcastReceiverDeploymentConfigurator.

Inherited 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.