Interface VersionIssueCountsBeanFactory

All Known Implementing Classes:
VersionIssueCountsBeanFactoryImpl

public interface VersionIssueCountsBeanFactory
Simple factory used to create version issue counts bean from versions and count data.
Since:
v4.4
  • Method Details

    • createVersionBean

      VersionIssueCountsBean createVersionBean(Version version, long fixIssueCount, long affectsIssueCount, long issueCountWithCustomFieldsShowingVersion, @Nullable Collection<CustomFieldWithVersionUsage> customFieldUsageList)
      Create a VersionBean given the passed Version.
      Parameters:
      version - the version to convert.
      fixIssueCount - the version to convert.
      affectsIssueCount - the version to convert.
      issueCountWithCustomFieldsShowingVersion - number of issues where custom fields shows given version
      customFieldUsageList - custom fields names affected by version
      Returns:
      the VersionIssueCountsBean from the passed Version.