com.atlassian.jira.issue.subscription.SubscriptionManager |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SUBSCRIPTION_IDENTIFIER |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new subscription based on the passed in filter id and fired
in accordance with the passed in trigger
| |||||||||||
Delete all subscriptions owned by a user.
| |||||||||||
Retrieve the cron expression associated with this subscription
| |||||||||||
Get a subscription by Id
| |||||||||||
Returns the next send time for this subscription.
| |||||||||||
Run this subscription now.
| |||||||||||
Creates a new subscription based on the passed in filter id and fired in accordance with the passed in trigger
user | the current user performing this operation |
---|---|
filterId | Id of the filter subscribing to |
groupName | Sent ot group |
cronExpression | The Cron expression for the subscription |
emailOnEmpty | send email if filter returns no results |
Delete all subscriptions owned by a user.
user | the current user performing this operation |
---|
GenericEntityException |
---|
Retrieve the cron expression associated with this subscription
GenericEntityException |
---|
Get a subscription by Id
subId | Subscription Id |
---|
GenericEntityException | |
GenericEntityException |
GenericEntityException |
---|
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 |
---|
Run this subscription now.
user | the current user performing this operation |
---|---|
subId | identifies the subscription to update |
GenericEntityException |
---|
user | the current user performing this operation |
---|---|
subscriptionId | identifies the subscription to update |
groupName | (optional) the name of the group to receive the email |
cronExpression | The Cron expression to update the subscription with |
DataAccessException | if there is a problem persisting the data. |
---|