com.atlassian.jira.issue.fields.rest
Class IssueLinkTypeFinderImpl
java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueLinkTypeFinderImpl
- All Implemented Interfaces:
- IssueLinkTypeFinder
public final class IssueLinkTypeFinderImpl
- extends Object
- implements IssueLinkTypeFinder
This "finder" class is used to find issue link types based on 'id' or 'name'.
- Since:
- v5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueLinkTypeFinderImpl
public IssueLinkTypeFinderImpl(IssueLinkTypeManager issueLinkTypeManager,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext jiraAuthenticationContext)
findIssueLinkType
public IssueLinkType findIssueLinkType(IssueLinkTypeJsonBean linkTypeBean,
ErrorCollection errors)
- Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of
linkTypeBean. If the link type does not exist, the appropriate error will be added to the
errors parameter (and the return value will be null).
- Specified by:
findIssueLinkType in interface IssueLinkTypeFinder
- Parameters:
linkTypeBean - the IssueLinkTypeJsonBeanerrors - a SimpleErrorCollection
- Returns:
- an IssueLinkType, or null
Copyright © 2002-2014 Atlassian. All Rights Reserved.