Klasse EventNotification.EventNotificationBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.model.EventNotification.EventNotificationBuilder
- Umschließende Klasse:
EventNotification
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
emailAddress
(String emailAddress) The email address.Expand options that include additional event notification details in the response.field
(EventNotificationField field) group
(EventNotificationGroup group) The ID of the notification.notificationType
(EventNotification.NotificationTypeEnum notificationType) Identifies the recipients of the notification.As a group's name can change, use ofrecipient
is recommended.projectRole
(EventNotificationProjectRole projectRole) The identifier associated with thenotificationType
value that defines the receiver of the notification, where the receiver isn't implied by thenotificationType
value.toString()
user
(EventNotificationUser user)
-
Methodendetails
-
emailAddress
The email address.- Gibt zurück:
this
.
-
expand
Expand options that include additional event notification details in the response.- Gibt zurück:
this
.
-
field
- Gibt zurück:
this
.
-
group
- Gibt zurück:
this
.
-
id
The ID of the notification.- Gibt zurück:
this
.
-
notificationType
public EventNotification.EventNotificationBuilder notificationType(EventNotification.NotificationTypeEnum notificationType) Identifies the recipients of the notification.- Gibt zurück:
this
.
-
parameter
As a group's name can change, use ofrecipient
is recommended. The identifier associated with thenotificationType
value that defines the receiver of the notification, where the receiver isn't implied bynotificationType
value. So, whennotificationType
is: *User
Theparameter
is the user account ID. *Group
Theparameter
is the group name. *ProjectRole
Theparameter
is the project role ID. *UserCustomField
Theparameter
is the ID of the custom field. *GroupCustomField
Theparameter
is the ID of the custom field.- Gibt zurück:
this
.
-
projectRole
public EventNotification.EventNotificationBuilder projectRole(EventNotificationProjectRole projectRole) - Gibt zurück:
this
.
-
recipient
The identifier associated with thenotificationType
value that defines the receiver of the notification, where the receiver isn't implied by thenotificationType
value. So, whennotificationType
is: *User
,recipient
is the user account ID. *Group
,recipient
is the group ID. *ProjectRole
,recipient
is the project role ID. *UserCustomField
,recipient
is the ID of the custom field. *GroupCustomField
,recipient
is the ID of the custom field.- Gibt zurück:
this
.
-
user
- Gibt zurück:
this
.
-
build
-
toString
-