Interface SubscriptionBuilder
public interface SubscriptionBuilder
The interface Subscription builder.
-
Method Summary
Modifier and TypeMethodDescriptionAdd field subscription.Gets fields.getName()
Gets subscription name.getPQL()
Gets pql (Profields query language)com.atlassian.jira.user.ApplicationUser
getUser()
Gets user.boolean
Has all fields as option.boolean
Has high light as option.setAllFieldsOption
(boolean allFields) Sets config all Fields as option in the susbscriptionsetCronExpBuilder
(@NotNull ScheduleBuilder cronExpBuilder) Sets CronExpBuilder.Sets fields to include in the subscriptionsetHighlightOption
(boolean highlight) Sets config high light as option in the susbscriptionSets subscription nameSets pql (Profields query language)setUser
(com.atlassian.jira.user.ApplicationUser user) Sets user.
-
Method Details
-
setName
Sets subscription name- Parameters:
name
- the name- Returns:
- the name
-
getName
String getName()Gets subscription name.- Returns:
- the name
-
setPQL
Sets pql (Profields query language)- Parameters:
pql
- the pql- Returns:
- the pql
-
getPQL
String getPQL()Gets pql (Profields query language)- Returns:
- the pql
-
setCronExpBuilder
Sets CronExpBuilder. You can get in SubscriptionService class- Parameters:
cronExpBuilder
- the CronExpBuilder for create- Returns:
- the cron exp builder
-
setUser
Sets user.- Parameters:
user
- the user- Returns:
- the user
-
getUser
com.atlassian.jira.user.ApplicationUser getUser()Gets user.- Returns:
- the user
-
setAllFieldsOption
Sets config all Fields as option in the susbscription- Parameters:
allFields
- the all fields- Returns:
- the all fields option
-
hasAllFieldsOption
boolean hasAllFieldsOption()Has all fields as option.- Returns:
- the boolean
-
setHighlightOption
Sets config high light as option in the susbscription- Parameters:
highlight
- the high light- Returns:
- the high light option
-
isHighlightOption
boolean isHighlightOption()Has high light as option.- Returns:
- the boolean
-
setFields
Sets fields to include in the subscription- Parameters:
fields
- the fields- Returns:
- the fields
-
addField
Add field subscription.- Parameters:
field
- the field- Returns:
- the subscription builder
-
getFields
Gets fields.- Returns:
- the fields
-