open class InstanceManager
<init> |
InstanceManager(aem: AemExtension) |
aem |
val aem: AemExtension |
all |
Map of AEM instances with names as a keys. val all: Provider<Map<String, Instance!>!>! |
buildDir |
Directory storing outputs of instance tasks. val buildDir: DirectoryProperty! |
configDir |
Directory storing instance wide configuration files. val configDir: DirectoryProperty! |
defined |
List of AEM instances e.g on which packages could be deployed. Instance stored in map ensures name uniqueness and allows to be referenced in expanded properties. val defined: ListProperty<Instance!>! |
projectDir |
Using remote AEM instances is acceptable in any project, so that lookup for project applying local instance plugin is required Needed to determine common directory storing instance related resources (tailer incident filter, Groovy scripts etc). val projectDir: DirectoryProperty! |
provisioner |
val provisioner: Provisioner |
satisfier |
val satisfier: Satisfier |
tailer |
val tailer: Tailer |
awaitDown |
fun awaitDown(instance: Instance, options: AwaitDownAction.() -> Unit = {}): Unitfun awaitDown(instances: Collection<Instance> = aem.instances, options: AwaitDownAction.() -> Unit = {}): Unit |
awaitReloaded |
fun awaitReloaded(instance: Instance, reloadOptions: ReloadAction.() -> Unit = {}, awaitUpOptions: AwaitUpAction.() -> Unit = {}): Unitfun awaitReloaded(instances: Collection<Instance> = aem.instances, reloadOptions: ReloadAction.() -> Unit = {}, awaitUpOptions: AwaitUpAction.() -> Unit = {}): Unit |
awaitUp |
fun awaitUp(instance: Instance, options: AwaitUpAction.() -> Unit = {}): Unitfun awaitUp(instances: Collection<Instance> = aem.instances, options: AwaitUpAction.() -> Unit = {}): Unit |
check |
fun check(instance: Instance, options: CheckAction.() -> Unit): Unitfun check(instances: Collection<Instance> = aem.instances, options: CheckAction.() -> Unit): Unit |
examine |
fun examine(instances: Collection<Instance> = aem.instances): Unit |
examineAvailable |
fun examineAvailable(instances: Collection<Instance> = aem.instances): Unit |
examineRunningOther |
fun examineRunningOther(instances: Collection<Instance>): Unit |
local |
Define local instance (created on local file system). fun local(httpUrl: String): Unitfun local(httpUrl: String, name: String): Unitfun local(httpUrl: String, options: LocalInstance.() -> Unit): Unit |
named |
fun named(name: String): Instance |
parse |
Get defined instance by name or create temporary definition if URL provided. fun parse(url: String): Instance |
provisioner |
fun provisioner(options: Provisioner.() -> Unit): Unit |
reload |
fun reload(instance: Instance, options: ReloadAction.() -> Unit = {}): Unitfun reload(instances: Collection<Instance> = aem.instances, options: ReloadAction.() -> Unit = {}): Unit |
remote |
Define remote instance (available on any host). fun remote(httpUrl: String): Unitfun remote(httpUrl: String, name: String): Unitfun remote(httpUrl: String, options: Instance.() -> Unit): Unit |
resolveFiles |
fun resolveFiles(): Unit |
satisfier |
fun satisfier(options: Satisfier.() -> Unit): Unit |
sync |
Customize default options for instance services. fun sync(options: InstanceSync.() -> Unit): Unit |
tailer |
fun tailer(options: Tailer.() -> Unit): Unit |