Grrrowl

Provides support for Growl.

Лицензия

Лицензия

Группа

Группа

org.sonatype.grrrowl
Идентификатор

Идентификатор

grrrowl
Последняя версия

Последняя версия

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Grrrowl
Provides support for Growl.
Организация-разработчик

Организация-разработчик

Sonatype
Система контроля версий

Система контроля версий

http://github.com/jdillon/grrrowl

Скачать grrrowl

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.sonatype.grrrowl/grrrowl/ -->
<dependency>
    <groupId>org.sonatype.grrrowl</groupId>
    <artifactId>grrrowl</artifactId>
    <version>1.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.sonatype.grrrowl/grrrowl/
implementation 'org.sonatype.grrrowl:grrrowl:1.1.1'
// https://jarcasting.com/artifacts/org.sonatype.grrrowl/grrrowl/
implementation ("org.sonatype.grrrowl:grrrowl:1.1.1")
'org.sonatype.grrrowl:grrrowl:jar:1.1.1'
<dependency org="org.sonatype.grrrowl" name="grrrowl" rev="1.1.1">
  <artifact name="grrrowl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.sonatype.grrrowl', module='grrrowl', version='1.1.1')
)
libraryDependencies += "org.sonatype.grrrowl" % "grrrowl" % "1.1.1"
[org.sonatype.grrrowl/grrrowl "1.1.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.5.10
net.java.dev.jna : jna Необязательный jar 3.2.3

test (3)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-simple jar 1.5.10
junit : junit jar 4.7
org.codehaus.groovy : groovy jar 1.7.0

Модули Проекта

Данный проект не имеет модулей.

DepShield Badge

Description

Support for Growl Notifications.

Uses HawtJNI to generate a native library to access Growl.

Updated to support Growling from AppleScript if the native library is not installed, else defaulting to a version that simply swallows notifications (for platforms w/o Growl support).

License

Apache 2.0

Features

  • Native Growl support using HawtJNI
  • AppleScript Growl when JNA is not present
  • Fallback to null implementation on unsupported platforms

Example Usage

import org.sonatype.grrrowl.Growler;
...
Growler growler = new Growler("My Application")
    .add("Notification1", "Notification2")
    .enableAll()
....
growler.growl("Notification1", "Title for Notification1", "Description for Notification1");

or using enums:

import org.sonatype.grrrowl.Growler;

enum Notifications {
    Notification1,
    Notification2 
}
...
Growler growler = new Growler("My Application")
    .add(Notifications.class)
    .enableAll();
....
growler.growl(Notifications.Notification1, "Title for Notification1", "Description for Notification1");

Building

Requirements

Check-out and build:

git clone git://github.com/jdillon/grrrowl.git
cd grrrowl
mvn install

Версии библиотеки

Версия
1.1.1
1.1
1.0