Package com.atlassian.jira.pulp.impl
Class PulpRedirectDaoImpl
java.lang.Object
com.atlassian.jira.pulp.impl.PulpRedirectDaoImpl
- All Implemented Interfaces:
PulpRedirectDao
@Named
@ParametersAreNonnullByDefault
public class PulpRedirectDaoImpl
extends Object
implements PulpRedirectDao
A
PulpRedirectDao that is backed by the ApplicationProperties API.- Since:
- 7.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddRedirect(ApplicationUser user, int jiraBuildNumber) Records the given user as having been redirected to the PULP for the given version of JIRA.intgetRedirectCount(int jiraBuildNumber) Returns the number of users who have been redirected to the PULP for the given version of JIRA.
-
Constructor Details
-
PulpRedirectDaoImpl
-
-
Method Details
-
addRedirect
Description copied from interface:PulpRedirectDaoRecords the given user as having been redirected to the PULP for the given version of JIRA.- Specified by:
addRedirectin interfacePulpRedirectDao- Parameters:
user- the user who was redirectedjiraBuildNumber- the JIRA build number- Returns:
trueiff the user has not previously seen the PULP- See Also:
-
getRedirectCount
public int getRedirectCount(int jiraBuildNumber) Description copied from interface:PulpRedirectDaoReturns the number of users who have been redirected to the PULP for the given version of JIRA.- Specified by:
getRedirectCountin interfacePulpRedirectDao- Parameters:
jiraBuildNumber- the JIRA application build number- Returns:
- see above
-