Package org.gradle.api.plugins.announce
Class AnnouncePluginExtension
- java.lang.Object
-
- org.gradle.api.plugins.announce.AnnouncePluginExtension
-
@Deprecated public class AnnouncePluginExtension extends Object
Deprecated.The extension used by the AnnouncePlugin.
-
-
Constructor Summary
Constructors Constructor Description AnnouncePluginExtension(org.gradle.api.internal.project.ProjectInternal project)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidannounce(String msg, String type)Deprecated.Sends an announcement of the given type.org.gradle.api.plugins.announce.internal.AnnouncerFactorygetAnnouncerFactory()Deprecated.AnnouncergetLocal()Deprecated.Returns anAnnouncerthat sends announcements to the local desktop, if a notification mechanism is available.StringgetPassword()Deprecated.The password to use for announcements.StringgetUsername()Deprecated.The username to use for announcements.voidsetAnnouncerFactory(org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory)Deprecated.voidsetLocal(Announcer localAnnouncer)Deprecated.Sets theAnnouncerthat should be used to send announcements to the local desktop.voidsetPassword(String password)Deprecated.voidsetUsername(String username)Deprecated.
-
-
-
Method Detail
-
getLocal
public Announcer getLocal()
Deprecated.Returns anAnnouncerthat sends announcements to the local desktop, if a notification mechanism is available.- Returns:
- The announcer.
-
setLocal
public void setLocal(Announcer localAnnouncer)
Deprecated.Sets theAnnouncerthat should be used to send announcements to the local desktop.
-
announce
public void announce(String msg, String type)
Deprecated.Sends an announcement of the given type.- Parameters:
msg- The content of the announcementtype- The announcement type.
-
getUsername
public String getUsername()
Deprecated.The username to use for announcements.
-
setUsername
public void setUsername(String username)
Deprecated.
-
getPassword
public String getPassword()
Deprecated.The password to use for announcements.
-
setPassword
public void setPassword(String password)
Deprecated.
-
getAnnouncerFactory
public org.gradle.api.plugins.announce.internal.AnnouncerFactory getAnnouncerFactory()
Deprecated.
-
setAnnouncerFactory
public void setAnnouncerFactory(org.gradle.api.plugins.announce.internal.AnnouncerFactory announcerFactory)
Deprecated.
-
-