Class HipChatRecipient
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient<HipChatRecipient,HipChatRecipientProperties>
-
- com.atlassian.bamboo.specs.builders.notification.HipChatRecipient
-
public class HipChatRecipient extends NotificationRecipient<HipChatRecipient,HipChatRecipientProperties>
Represents Hipchat account Bamboo can send notifications to.
-
-
Constructor Summary
Constructors Constructor Description HipChatRecipient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HipChatRecipientapiToken(@NotNull java.lang.String apiToken)Specifies api token of the Hipchat account.protected @NotNull HipChatRecipientPropertiesbuild()HipChatRecipientnotifyUsers(boolean notifyUsers)Specifies if Hipchat should notify its users when new notification appears in the Hipchat room.HipChatRecipientroom(@NotNull java.lang.String room)Specifies room to send notifications to.
-
-
-
Method Detail
-
apiToken
public HipChatRecipient apiToken(@NotNull @NotNull java.lang.String apiToken)
Specifies api token of the Hipchat account.
-
room
public HipChatRecipient room(@NotNull @NotNull java.lang.String room)
Specifies room to send notifications to.
-
notifyUsers
public HipChatRecipient notifyUsers(boolean notifyUsers)
Specifies if Hipchat should notify its users when new notification appears in the Hipchat room.
-
build
@NotNull protected @NotNull HipChatRecipientProperties build()
- Specified by:
buildin classNotificationRecipient<HipChatRecipient,HipChatRecipientProperties>
-
-