Groovy Documentation

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

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

class AnnouncePluginExtension

Property Summary
AnnouncerFactory announcerFactory

String password

The password to use for announcements.

String username

The username to use for announcements.

 
Constructor Summary
AnnouncePluginExtension(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.

void setLocal(Announcer localAnnouncer)

Sets the Announcer that should be used to send announcements to the local desktop.

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

Property Detail

announcerFactory

AnnouncerFactory announcerFactory


password

String password
The password to use for announcements.


username

String username
The username to use for announcements.


 
Constructor Detail

AnnouncePluginExtension

AnnouncePluginExtension(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.


setLocal

void setLocal(Announcer localAnnouncer)
Sets the Announcer that should be used to send announcements to the local desktop.


 

Gradle API 1.7