aem-plugin / com.cognifide.gradle.aem.environment.health / HealthChecker

HealthChecker

class HealthChecker

Constructors

<init>

HealthChecker(environment: Environment)

Properties

environment

val environment: Environment

retry

var retry: Retry

Functions

check

fun check(verbose: Boolean = true): List<HealthStatus>

define

fun define(name: String, check: () -> Unit): Unit

http

fun http(options: HttpClient.() -> Unit): Unit

url

Check URL using specified criteria (HTTP options and e.g text & status code assertions).

fun url(checkName: String, url: String, criteria: UrlCheck.() -> Unit): Unit