public class

DefaultFilterSubscription

extends Object
implements FilterSubscription
java.lang.Object
   ↳ com.atlassian.jira.issue.subscription.DefaultFilterSubscription

Class Overview

A Filter Subscription bean

Summary

[Expand]
Inherited Fields
From interface com.atlassian.jira.entity.WithId
Public Constructors
DefaultFilterSubscription(Long id, Long filterId, String userKey, String groupName, Date lastRunTime, boolean emailOnEmpty)
Public Methods
boolean equals(Object o)
Long getFilterId()
Get the Id of the filter subscribed to.
@Nullable String getGroupName()
Get the name of the group subscribed.
Long getId()
Get the Id of the subscription.
@Nullable Date getLastRunTime()
Get the time the subscription was last sent.
String getUserKey()
Get the User Key of the subscription owner.
int hashCode()
boolean isEmailOnEmpty()
Is this subscription sent, even if no issues are selected by the filter.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.entity.WithId
From interface com.atlassian.jira.issue.subscription.FilterSubscription

Public Constructors

public DefaultFilterSubscription (Long id, Long filterId, String userKey, String groupName, Date lastRunTime, boolean emailOnEmpty)

Public Methods

public boolean equals (Object o)

public Long getFilterId ()

Get the Id of the filter subscribed to.

Returns
  • the Id of the filter subscribed to.

@Nullable public String getGroupName ()

Get the name of the group subscribed.

Returns
  • the User Key of the group subscribed.

public Long getId ()

Get the Id of the subscription.

Returns
  • the Id of the subscription.

@Nullable public Date getLastRunTime ()

Get the time the subscription was last sent.

Returns
  • the time the subscription was last sent.

public String getUserKey ()

Get the User Key of the subscription owner.

Returns
  • the User Key of the subscription owner.

public int hashCode ()

public boolean isEmailOnEmpty ()

Is this subscription sent, even if no issues are selected by the filter.

Returns
  • true if this subscription sent, even if no issues are selected by the filter.