aem-plugin / com.cognifide.gradle.aem.common.instance / InstanceOptions

InstanceOptions

open class InstanceOptions : Serializable

Constructors

<init>

InstanceOptions(aem: AemExtension)

Properties

defined

List of AEM instances on which packages could be deployed. Instance stored in map ensures name uniqueness and allows to be referenced in expanded properties.

val defined: MutableMap<String, Instance>

Functions

local

Define local instance (created on local file system).

fun local(httpUrl: String): Unit
fun local(httpUrl: String, name: String): Unit
fun local(httpUrl: String, options: LocalInstance.() -> Unit): Unit

parse

Get defined instance by name or create temporary definition if URL provided.

fun parse(urlOrName: String): Instance

remote

Define remote instance (available on any host).

fun remote(httpUrl: String): Unit
fun remote(httpUrl: String, name: String): Unit
fun remote(httpUrl: String, options: RemoteInstance.() -> Unit): Unit

sync

Customize default options for instance services.

fun sync(options: InstanceSync.() -> Unit): Unit