-
public final class NotifierFacade
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Boolean>enabledprivate final RegularFilePropertyiconSuccessprivate final RegularFilePropertyiconFailureprivate final CommonExtensioncommon
-
Method Summary
Modifier and Type Method Description final Unitconfig(Function1<NotifierFacade, Notifier> config)Hook for customizing notifications being displayed. final Unitlog(String title)final Unitlog(String title, String message)final Unitlog(String title, String message, LogLevel level)final Unitnotify(String title)final Unitnotify(String title, String text, LogLevel level, Function1<Notify, Unit> onClick)final Unitnotify(String title, String text)final Notifierdorkbox(Function1<Notify, Unit> configurer)final Notifiercustom(Function4<String, String, LogLevel, Function1<Notify, Unit>, Unit> notifier)final Unitlifecycle(String title, String text)final Unitinfo(String title, String text)final Unitwarn(String title, String text)final Uniterror(String title, String text)final Property<Boolean>getEnabled()Turn on/off default system notifications. final RegularFilePropertygetIconSuccess()Project specific build success image at path relative to root project. final RegularFilePropertygetIconFailure()Project specific build failure image at path relative to root project. final CommonExtensiongetCommon()-
-
Method Detail
-
config
final Unit config(Function1<NotifierFacade, Notifier> config)
Hook for customizing notifications being displayed.
-
notify
final Unit notify(String title, String text, LogLevel level, Function1<Notify, Unit> onClick)
-
custom
final Notifier custom(Function4<String, String, LogLevel, Function1<Notify, Unit>, Unit> notifier)
-
getEnabled
final Property<Boolean> getEnabled()
Turn on/off default system notifications.
-
getIconSuccess
final RegularFileProperty getIconSuccess()
Project specific build success image at path relative to root project.
-
getIconFailure
final RegularFileProperty getIconFailure()
Project specific build failure image at path relative to root project.
-
getCommon
final CommonExtension getCommon()
-
-
-
-