aem-plugin / com.cognifide.gradle.aem.common.instance.check / CheckRunner

CheckRunner

class CheckRunner

Constructors

<init>

CheckRunner(aem: AemExtension)

Properties

abortCause

Error causing running stopped.

var abortCause: Exception?

aborted

Verify if running is stopped.

val aborted: Boolean

delay

How long to wait after failed checking before checking again.

var delay: Long

logInstantly

Controls logging behavior

var logInstantly: Boolean

runningTime

Time since running started.

val runningTime: Long

verbose

Controls if aborted running should fail build.

var verbose: Boolean

Functions

check

fun check(instances: Collection<Instance>): Unit

checks

Defines which checks should be performed (and repeated).

fun checks(definitions: CheckFactory.() -> List<Check>): Unit

progress

Get current checking progress of concrete instance.

fun progress(instance: Instance): CheckProgress