class NotifierFacade
common |
val common: CommonExtension |
enabled |
Turn on/off default system notifications. val enabled: Property<Boolean!>! |
iconFailure |
Project specific build failure image at path relative to root project. val iconFailure: RegularFileProperty! |
iconSuccess |
Project specific build success image at path relative to root project. val iconSuccess: RegularFileProperty! |
config |
Hook for customizing notifications being displayed. fun config(config: NotifierFacade.() -> Notifier): Unit |
custom |
fun custom(notifier: (title: String, text: String, level: LogLevel, onClick: (Notify) -> Unit) -> Unit): Notifier |
dorkbox |
fun dorkbox(configurer: Notify.() -> Unit = {}): Notifier |
error |
fun error(title: String, text: String): Unit |
info |
fun info(title: String, text: String): Unit |
lifecycle |
fun lifecycle(title: String, text: String): Unit |
log |
fun log(title: String): Unitfun log(title: String, message: String): Unitfun log(title: String, message: String, level: LogLevel): Unit |
notify |
fun notify(title: String): Unitfun notify(title: String, text: String, level: LogLevel, onClick: (Notify) -> Unit = {}): Unitfun notify(title: String, text: String): Unit |
warn |
fun warn(title: String, text: String): Unit |
of |
Get project specific notifier (config can vary) fun of(common: CommonExtension): NotifierFacade |