aem-plugin / com.cognifide.gradle.aem.common.notifier / NotifierFacade

NotifierFacade

class NotifierFacade

Properties

config

Hook for customizing notifications being displayed.

var config: NotifierFacade.() -> Notifier

enabled

Turn on/off default system notifications.

var enabled: Boolean

image

val image: URL

Functions

custom

fun custom(notifier: (title: String, text: String, level: LogLevel, onClick: (Notify) -> Unit) -> Unit): Notifier

dorkbox

fun dorkbox(): Notifier
fun dorkbox(configurer: Notify.() -> Unit): Notifier

log

fun log(title: String): Unit
fun log(title: String, message: String): Unit
fun log(title: String, message: String, level: LogLevel): Unit

notify

fun notify(title: String): Unit
fun notify(title: String, text: String): Unit
fun notify(title: String, text: String, level: LogLevel): Unit

notifyLogError

fun notifyLogError(title: String, message: String, file: URI): Unit

Companion Object Properties

DORKBOX_DARK_LIGHT_THEME

val DORKBOX_DARK_LIGHT_THEME: Theme

DORKBOX_HIDE_AFTER_SECONDS

const val DORKBOX_HIDE_AFTER_SECONDS: Long

Companion Object Functions

of

Get project specific notifier (config can vary)

fun of(aem: AemExtension): NotifierFacade