java.lang.Object | |
↳ | com.atlassian.jira.bc.filter.DefaultFilterSubscriptionService |
Uses Atlassian Scheduler
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve the cron expression associated with this subscription
| |||||||||||
Returns the next send time for this subscription.
| |||||||||||
Renders a human readable description of the given cron expression or returns the cron expression if
it can't be parsed by the com.atlassian.core.cron.parser.CronExpressionParser.
| |||||||||||
Retrieves a list of subscriptions that a given user can see for a given filter.
| |||||||||||
Retrieves a list of subscriptions that a given user can see for a given filter.
| |||||||||||
Retrieves a list of subscriptions that a given user can see for a given filter.
| |||||||||||
Create and store the Cron Trigger and subscription
| |||||||||||
Updates the subscription to the new given values and persists.
| |||||||||||
Validates a given cron expression
Errors are passed back in the
ErrorCollection
of the JiraServiceContext |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Retrieve the cron expression associated with this subscription
Returns the next send time for this subscription. This may return null if the scheduler does not support the reporting of next send times.
sub | The subscription |
---|
Renders a human readable description of the given cron expression or returns the cron expression if it can't be parsed by the com.atlassian.core.cron.parser.CronExpressionParser.
context | the jira service context. |
---|---|
cronExpression | a cron expression. |
Retrieves a list of subscriptions that a given user can see for a given filter. I.e. The owner can see all subscriptions for a filter, otherwise you can only see your own subscriptions.
user | The user that can see the subscriptions |
---|---|
filter | The filter with teh associated subscriptions |
Retrieves a list of subscriptions that a given user can see for a given filter. I.e. The owner can see all subscriptions for a filter, otherwise you can only see your own subscriptions.
user | The user that can see the subscriptions |
---|---|
filter | The filter with teh associated subscriptions |
Retrieves a list of subscriptions that a given user can see for a given filter. I.e. The owner can see all subscriptions for a filter, otherwise you can only see your own subscriptions.
user | The user that can see the subscriptions |
---|---|
filter | The filter with teh associated subscriptions |
Create and store the Cron Trigger and subscription
context | jira service context |
---|---|
filterId | Id of the filter subscribing to |
groupName | Sent to group (may be null if sent to self) |
expr | Cron expression to store |
emailOnEmpty | send email if filter returns no results |
Updates the subscription to the new given values and persists.
context | jira service context |
---|---|
subscriptionId | Id of the subscription being updated |
groupName | Sent to group (may be null if sent to self) |
expr | Cron expression to store |
emailOnEmpty | send email if filter returns no results |
Validates a given cron expression
Errors are passed back in the ErrorCollection
of the JiraServiceContext
context | jira service context |
---|---|
expr | Expression to evaluate |