aem-plugin / com.cognifide.gradle.aem.environment / Environment

Environment

class Environment : Serializable

Constructors

<init>

Environment(aem: AemExtension)

Properties

aem

val aem: AemExtension

configDir

Convention directory for storing environment specific configuration files.

val configDir: File

created

val created: Boolean

docker

val docker: Docker

healthChecker

var healthChecker: HealthChecker

hosts

val hosts: HostOptions

rootDir

Path in which local AEM environment will be stored.

var rootDir: File

running

val running: Boolean

up

val up: Boolean

Functions

check

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

destroy

fun destroy(): Unit

docker

fun docker(options: Docker.() -> Unit): Unit

down

fun down(): Unit

healthChecks

Configures environment service health checks.

fun healthChecks(options: HealthChecker.() -> Unit): Unit

hosts

fun hosts(options: HostOptions.() -> Unit): Unit

Defines hosts to be appended to system specific hosts file.

fun hosts(vararg values: String): Unit
fun hosts(names: Iterable<String>): Unit

reload

fun reload(): Unit

resolve

fun resolve(): Unit

restart

fun restart(): Unit

toString

fun toString(): String

up

fun up(): Unit

Companion Object Properties

ENVIRONMENT_DIR

const val ENVIRONMENT_DIR: String