com.atlassian.jira.servlet
Class QuickLinkHelper
java.lang.Object
com.atlassian.jira.servlet.QuickLinkHelper
public class QuickLinkHelper
- extends Object
Helper class that takes path info and extract the information about
project, version and component from it.
- Since:
- 3.10
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickLinkHelper
public QuickLinkHelper(String pathInfo)
- Constructs this instance and extracts project key, version id and
component id and stores it locally, so they can be accessed via
getProjectKey()
, getVersionId()
and
getComponentId()
methods.
- Parameters:
pathInfo
- path info from request
- Throws:
IllegalArgumentException
- if given pathInfo is null or less than 2 characters
getProjectKey
public String getProjectKey()
getVersionId
public Long getVersionId()
getComponentId
public Long getComponentId()
Copyright © 2002-2009 Atlassian. All Rights Reserved.