public class AnnouncePluginExtension extends Object
The extension used by the AnnouncePlugin.
| Constructor and Description | 
|---|
| AnnouncePluginExtension(org.gradle.api.internal.project.ProjectInternal project) | 
| Modifier and Type | Method 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  Announcerthat 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  Announcerthat should be used to send announcements to the local desktop. | 
| void | setPassword(String password) | 
| void | setUsername(String username) | 
public AnnouncePluginExtension(org.gradle.api.internal.project.ProjectInternal project)
public Announcer getLocal()
Announcer that sends announcements to the local desktop, if a notification mechanism is available.public void setLocal(Announcer localAnnouncer)
Announcer that should be used to send announcements to the local desktop.public void announce(String msg, String type)
msg - The content of the announcementtype - The announcement type.public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public org.gradle.api.plugins.announce.internal.AnnouncerFactory getAnnouncerFactory()
public void setAnnouncerFactory(org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory)