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