public class DefaultSearchLinkGenerator extends Object implements SearchLinkGenerator
Constructor and Description |
---|
DefaultSearchLinkGenerator(ProjectManager projectManager,
JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentSearchLink(ProjectComponent component)
Get search link for component field scoped within a project of the passed component.
|
String |
getFixVersionSearchLink(Version version)
Get search link for fixVersion field scoped within a project of the passed version.
|
public DefaultSearchLinkGenerator(ProjectManager projectManager, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory)
public String getComponentSearchLink(ProjectComponent component)
getComponentSearchLink
in interface SearchLinkGenerator
component
- The component object to generate the link from.public String getFixVersionSearchLink(Version version)
getFixVersionSearchLink
in interface SearchLinkGenerator
version
- The version object to generate the link from.Copyright © 2002-2024 Atlassian. All Rights Reserved.