Groovy Documentation

org.gradle.api.plugins.announce
[Groovy] Class AnnouncePluginExtension

java.lang.Object
  org.gradle.api.plugins.announce.AnnouncePluginExtension

class AnnouncePluginExtension
extends Object

Property Summary
org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory

Announcer local

String password

The password to use for announcements.

String username

The username to use for announcements.

 
Constructor Summary
AnnouncePluginExtension(org.gradle.api.internal.project.ProjectInternal project)

 
Method Summary
void announce(String msg, String type)

Sends an announcement of the given type.

Announcer getLocal()

Returns an Announcer that sends announcements to the local desktop, if a notification mechanism is available.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

announcerFactory

org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory


local

Announcer local


password

String password
The password to use for announcements.


username

String username
The username to use for announcements.


 
Constructor Detail

AnnouncePluginExtension

AnnouncePluginExtension(org.gradle.api.internal.project.ProjectInternal project)


 
Method Detail

announce

void announce(String msg, String type)
Sends an announcement of the given type.
Parameters:
msg - The content of the announcement
type - The announcement type.


getLocal

Announcer getLocal()
Returns an Announcer that sends announcements to the local desktop, if a notification mechanism is available.
Returns:
The announcer.


 

Gradle API 1.0-milestone-8