aem-plugin / com.cognifide.gradle.aem.pkg.tasks / PackageDeploy

PackageDeploy

open class PackageDeploy : PackageTask

Constructors

<init>

PackageDeploy()

Properties

awaited

Check instance(s) health after deploying package(s).

var awaited: Boolean

completer

Hook after deploying all packages to all instances.

var completer: () -> Unit

distributed

Enables deployment via CRX package activation from author to publishers when e.g they are not accessible.

var distributed: Boolean

finalizer

Hook for cleaning instance after deploying packages

var finalizer: InstanceSync.() -> Unit

initializer

Hook for preparing instance before deploying packages

var initializer: InstanceSync.() -> Unit

installRecursive

Determines if when on package install, sub-packages included in CRX package content should be also installed.

var installRecursive: Boolean

installRetry

Repeat install when failed (brute-forcing).

var installRetry: Retry

uploadForce

Force upload CRX package regardless if it was previously uploaded.

var uploadForce: Boolean

uploadRetry

Repeat upload when failed (brute-forcing).

var uploadRetry: Retry

workflowToggle

Allows to temporarily enable or disable workflows during CRX package deployment.

var workflowToggle: Map<String, Boolean>

Functions

awaitUp

Controls await up action.

fun awaitUp(options: AwaitUpAction.() -> Unit): Unitfun awaitUp(): Unit

deploy

open fun deploy(): Unit

projectsEvaluated

open fun projectsEvaluated(): Unit

Companion Object Properties

NAME

const val NAME: String

Inheritors

InstanceSatisfy

open class InstanceSatisfy : PackageDeploy