The extension used by the AnnouncePlugin.
Constructor and description |
---|
AnnouncePluginExtension
(org.gradle.api.internal.project.ProjectInternal project) |
Type | Name and description |
---|---|
void |
announce(String msg, String type) Sends an announcement of the given type. |
org.gradle.api.plugins.announce.internal.AnnouncerFactory |
getAnnouncerFactory() |
Announcer |
getLocal() Returns an Announcer that sends announcements to the local desktop, if a notification mechanism is available. |
String |
getPassword() The password to use for announcements. |
String |
getUsername() The username to use for announcements. |
void |
setAnnouncerFactory(org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory) |
void |
setLocal(Announcer localAnnouncer) Sets the Announcer that should be used to send announcements to the local desktop. |
void |
setPassword(String password) |
void |
setUsername(String username) |
Sends an announcement of the given type.
msg
- The content of the announcementtype
- The announcement type.Returns an Announcer that sends announcements to the local desktop, if a notification mechanism is available.
The password to use for announcements.
The username to use for announcements.
Sets the Announcer that should be used to send announcements to the local desktop.
Gradle API 3.0-milestone-1