Interface SubscriptionBuilder
public interface SubscriptionBuilder
The interface Subscription builder.
- 
Method SummaryModifier and TypeMethodDescriptionAdd field subscription.Gets fields.getName()Gets subscription name.getPQL()Gets pql (Profields query language)com.atlassian.jira.user.ApplicationUsergetUser()Gets user.booleanHas all fields as option.booleanHas 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- 
setNameSets subscription name- Parameters:
- name- the name
- Returns:
- the name
 
- 
getNameString getName()Gets subscription name.- Returns:
- the name
 
- 
setPQLSets pql (Profields query language)- Parameters:
- pql- the pql
- Returns:
- the pql
 
- 
getPQLString getPQL()Gets pql (Profields query language)- Returns:
- the pql
 
- 
setCronExpBuilderSets CronExpBuilder. You can get in SubscriptionService class- Parameters:
- cronExpBuilder- the CronExpBuilder for create
- Returns:
- the cron exp builder
 
- 
setUserSets user.- Parameters:
- user- the user
- Returns:
- the user
 
- 
getUsercom.atlassian.jira.user.ApplicationUser getUser()Gets user.- Returns:
- the user
 
- 
setAllFieldsOptionSets config all Fields as option in the susbscription- Parameters:
- allFields- the all fields
- Returns:
- the all fields option
 
- 
hasAllFieldsOptionboolean hasAllFieldsOption()Has all fields as option.- Returns:
- the boolean
 
- 
setHighlightOptionSets config high light as option in the susbscription- Parameters:
- highlight- the high light
- Returns:
- the high light option
 
- 
isHighlightOptionboolean isHighlightOption()Has high light as option.- Returns:
- the boolean
 
- 
setFieldsSets fields to include in the subscription- Parameters:
- fields- the fields
- Returns:
- the fields
 
- 
addFieldAdd field subscription.- Parameters:
- field- the field
- Returns:
- the subscription builder
 
- 
getFieldsGets fields.- Returns:
- the fields
 
 
-