class PackageGroup : FileGroup
Allows to customize behavior of satisfy task for concrete group of packages.
<init> |
Allows to customize behavior of satisfy task for concrete group of packages. PackageGroup(packageResolver: PackageResolver, name: String) |
distributed |
Enables deployment via CRX package activation from author to publishers when e.g they are not accessible. val distributed: Property<Boolean!>! |
greedy |
Forces to upload and install package again regardless its state on instances (already uploaded / installed). val greedy: Property<Boolean!>! |
packageResolver |
val packageResolver: PackageResolver |
completer |
Hook after deploying all packages to all instances called only when at least one package was deployed on any instance. fun completer(callback: (Collection<Instance>) -> Unit): Unit |
condition |
Limits packages installation to instances that are passing predicate. fun condition(predicate: (Instance) -> Boolean): 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. Customize here options related with: HTTP client (timeouts), package manager (workflows to be toggled) etc. fun initializer(callback: InstanceSync.() -> Unit): Unit |
instanceNamed |
Limits packages installation to instances which names are matching wildcard pattern(s). fun instanceNamed(namePattern: String): Unit |