aem-plugin / com.cognifide.gradle.aem.instance.satisfy / PackageGroup

PackageGroup

class PackageGroup : FileGroup

Allows to customize behavior of satisfy task for concrete group of packages.

Constructors

<init>

Allows to customize behavior of satisfy task for concrete group of packages.

PackageGroup(resolver: PackageResolver, name: String)

Properties

distributed

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

var distributed: Boolean?

greedy

Forces to upload and install package again regardless its state on instances (already uploaded / installed).

var greedy: Boolean

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?

instanceName

Instance name filter for excluding group from deployment.

var instanceName: String

resolver

val resolver: PackageResolver

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: MutableMap<String, Boolean>

Functions

completer

Hook after deploying all packages to all instances called only when at least one package was deployed on any instance.

fun completer(callback: () -> Unit): Unit

createResolution

fun createResolution(id: String, resolver: (FileResolution) -> File): FileResolution

finalizer

Hook for cleaning instance after deploying packages

fun finalizer(callback: InstanceSync.() -> Unit): Unit

initializer

Hook for preparing instance before deploying packages

fun initializer(callback: InstanceSync.() -> Unit): Unit

workflowToggle

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

fun workflowToggle(id: String, flag: Boolean): Unit