public class NotifierFacade
public static long DORKBOX_HIDE_AFTER_SECONDS
public static com.cognifide.gradle.aem.common.notifier.NotifierFacade.Companion Companion
public boolean getEnabled()
Turn on/off default system notifications.
public void setEnabled(boolean p)
Turn on/off default system notifications.
@NotNull public kotlin.jvm.functions.Function1<com.cognifide.gradle.aem.common.notifier.NotifierFacade,com.cognifide.gradle.aem.common.notifier.Notifier> getConfig()
Hook for customizing notifications being displayed.
To customize notification use one of concrete provider methods: 'dorkbox' or 'jcgay' (and optionally pass configuration lambda(s)). Also it is possible to implement own notifier directly in build script by using provider method 'custom'.
public void setConfig(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.notifier.NotifierFacade,? extends com.cognifide.gradle.aem.common.notifier.Notifier> p)
Hook for customizing notifications being displayed.
To customize notification use one of concrete provider methods: 'dorkbox' or 'jcgay' (and optionally pass configuration lambda(s)). Also it is possible to implement own notifier directly in build script by using provider method 'custom'.
public void log(@NotNull
java.lang.String title)
public void log(@NotNull
java.lang.String title,
@NotNull
java.lang.String message)
public void log(@NotNull
java.lang.String title,
@NotNull
java.lang.String message,
@NotNull
org.gradle.api.logging.LogLevel level)
public void notify(@NotNull
java.lang.String title)
public void notify(@NotNull
java.lang.String title,
@NotNull
java.lang.String text)
public void notify(@NotNull
java.lang.String title,
@NotNull
java.lang.String text,
@NotNull
org.gradle.api.logging.LogLevel level)
@NotNull public Notifier dorkbox()
@NotNull public Notifier dorkbox(@NotNull kotlin.jvm.functions.Function1<? super dorkbox.notify.Notify,kotlin.Unit> configurer)
@NotNull public Notifier custom(@NotNull kotlin.jvm.functions.Function4<? super java.lang.String,? super java.lang.String,? super org.gradle.api.logging.LogLevel,? super kotlin.jvm.functions.Function1<? super dorkbox.notify.Notify,kotlin.Unit>,kotlin.Unit> notifier)
public void notifyLogError(@NotNull
java.lang.String title,
@NotNull
java.lang.String message,
@NotNull
java.net.URI file)
@NotNull public java.net.URL getImage()