Grrrowl

Provides support for Growl.

License

License

GroupId

GroupId

org.sonatype.grrrowl
ArtifactId

ArtifactId

grrrowl
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

Grrrowl
Provides support for Growl.
Project Organization

Project Organization

Sonatype
Source Code Management

Source Code Management

http://github.com/jdillon/grrrowl

Download grrrowl

How to add to project

<!-- 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"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.5.10
net.java.dev.jna : jna Optional jar 3.2.3

test (3)

Group / Artifact Type Version
org.slf4j : slf4j-simple jar 1.5.10
junit : junit jar 4.7
org.codehaus.groovy : groovy jar 1.7.0

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.1.1
1.1
1.0