Class IssueLinkTypeFinderImpl
java.lang.Object
com.atlassian.jira.issue.fields.rest.IssueLinkTypeFinderImpl
- All Implemented Interfaces:
IssueLinkTypeFinder
This "finder" class is used to find issue link types based on 'id' or 'name'.
- Since:
- v5.0
-
Constructor Summary
ConstructorsConstructorDescriptionIssueLinkTypeFinderImpl(IssueLinkTypeManager issueLinkTypeManager, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionfindIssueLinkType(IssueLinkTypeJsonBean linkTypeBean, ErrorCollection errors) Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property oflinkTypeBean.
-
Constructor Details
-
IssueLinkTypeFinderImpl
public IssueLinkTypeFinderImpl(IssueLinkTypeManager issueLinkTypeManager, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext)
-
-
Method Details
-
findIssueLinkType
Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property oflinkTypeBean. If the link type does not exist, the appropriate error will be added to theerrorsparameter (and the return value will be null).- Specified by:
findIssueLinkTypein interfaceIssueLinkTypeFinder- Parameters:
linkTypeBean- the IssueLinkTypeJsonBeanerrors- a SimpleErrorCollection- Returns:
- an IssueLinkType, or null
-