com.atlassian.jira.plugin.jql.function
Class AllReleasedVersionsFunction
java.lang.Object
com.atlassian.jira.plugin.jql.function.AbstractJqlFunction
com.atlassian.jira.plugin.jql.function.AbstractVersionsFunction
com.atlassian.jira.plugin.jql.function.AllReleasedVersionsFunction
- All Implemented Interfaces:
- ClauseSanitisingJqlFunction, JqlFunction
public class AllReleasedVersionsFunction
- extends AbstractVersionsFunction
Function that produces released versions for any specified projects (or all released versions if no project is
specified). The versions returned will include both archived and unarchived versions.
Projects are resolved by project key first, then name, then id. Only Versions from Projects which the current user
can browse will be returned.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FUNCTION_RELEASED_VERSIONS
public static final String FUNCTION_RELEASED_VERSIONS
- See Also:
- Constant Field Values
AllReleasedVersionsFunction
public AllReleasedVersionsFunction(VersionManager versionManager,
ProjectResolver projectResolver,
PermissionManager permissionManager)
getAllVersions
protected Collection<Version> getAllVersions(com.atlassian.crowd.embedded.api.User user)
- Specified by:
getAllVersions
in class AbstractVersionsFunction
- Returns:
- all the versions relevant to this function.
getVersionsForProject
protected Collection<Version> getVersionsForProject(Long projectId)
- Specified by:
getVersionsForProject
in class AbstractVersionsFunction
- Parameters:
projectId
- the id of the Project
which the versions belong to
- Returns:
- all the versions relevant to this function and the specified project
Copyright © 2002-2013 Atlassian. All Rights Reserved.