@ParametersAreNonnullByDefault public interface PulpRedirectDao
Modifier and Type | Method and Description |
---|---|
boolean |
addRedirect(ApplicationUser user,
int jiraBuildNumber)
Records the given user as having been redirected to the PULP for the given version of JIRA.
|
int |
getRedirectCount(int jiraBuildNumber)
Returns the number of users who have been redirected to the PULP for the given version of JIRA.
|
boolean addRedirect(ApplicationUser user, int jiraBuildNumber)
user
- the user who was redirectedjiraBuildNumber
- the JIRA build numbertrue
iff the user has not previously seen the PULPBuildUtilsInfo.getApplicationBuildNumber()
int getRedirectCount(int jiraBuildNumber)
jiraBuildNumber
- the JIRA application build numberCopyright © 2002-2019 Atlassian. All Rights Reserved.