com.atlassian.jira.issue.fields.rest
Interface IssueLinkTypeFinder

All Known Implementing Classes:
IssueLinkTypeFinderImpl

@PublicApi
public interface IssueLinkTypeFinder

Finds an IssueLinkType by 'id' or 'name'.

Since:
v5.0

Method Summary
 IssueLinkType findIssueLinkType(IssueLinkTypeJsonBean linkTypeBean, ErrorCollection errors)
          Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of the IssueLinkTypeJsonBean.
 

Method Detail

findIssueLinkType

IssueLinkType findIssueLinkType(IssueLinkTypeJsonBean linkTypeBean,
                                ErrorCollection errors)
Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of the IssueLinkTypeJsonBean. If the link type does not exist, the appropriate error will be added to the passed-in ErrorCollection, and this method will return null.

Parameters:
linkTypeBean - the issue type to find
errors - an ErrorCollection
Returns:
an IssueLinkType, or null
Since:
v5.0


Copyright © 2002-2012 Atlassian. All Rights Reserved.