com.atlassian.jira.project.statistics.type
Class TypeOpenByFixVersion

java.lang.Object
  extended bycom.atlassian.jira.project.statistics.type.AbstractStatisticType
      extended bycom.atlassian.jira.project.statistics.type.AbstractOpenByStatisticType
          extended bycom.atlassian.jira.project.statistics.type.AbstractOpenByNodeAssocStatisticType
              extended bycom.atlassian.jira.project.statistics.type.TypeOpenByFixVersion
All Implemented Interfaces:
java.util.Comparator, StatisticType

public class TypeOpenByFixVersion
extends AbstractOpenByNodeAssocStatisticType

This StatisticType is used to get the statistics of Open Issues by Fix Version


Field Summary
 
Fields inherited from class com.atlassian.jira.project.statistics.type.AbstractOpenByStatisticType
CHANGED_RESOLUTION, GOTTEN_RESOLVED, GOTTEN_UNRESOLVED, STAYED_RESOLVED, STAYED_UNRESOLVED
 
Fields inherited from interface com.atlassian.jira.project.statistics.StatisticType
OPEN_BY_AFFECTED_VERSION, OPEN_BY_ASSIGNEE, OPEN_BY_COMPONENT, OPEN_BY_FIX_VERSION, OPEN_BY_PRIORITY, STATUS
 
Constructor Summary
TypeOpenByFixVersion()
           
 
Method Summary
protected  boolean doIssueConditionsMeet(GenericValue issue)
          Checks that any conditions that are placed on the issue for this Statistic Type are met.
protected  java.util.Collection getAssociatedEntities(GenericValue project)
          Get all the Versions for the passed in project
protected  java.lang.String getAssociationName()
          This is the name of the association between the issue and the entity.
protected  java.lang.String getFieldName()
          This is the name of the field that will be 'grouped' for the statistic.
protected  SearchParameter getNullEntityParameter()
          Return a search parameter which will filter out any issues with this entity associated.
 
Methods inherited from class com.atlassian.jira.project.statistics.type.AbstractOpenByNodeAssocStatisticType
amendCollectionForCreateUnresolved, amendCollectionForDeleteUnresolved, amendCollectionForUpdateGottenResolved, amendCollectionForUpdateGottenUnresolved, amendCollectionForUpdateStayedUnresolved, calculateAssigneeStatisticsCollection, calculateReporterStatisticsCollection, compare, equals, getEntities, getIssueEntities, getIssues, getKey, hashCode, toString
 
Methods inherited from class com.atlassian.jira.project.statistics.type.AbstractOpenByStatisticType
amendCollection, getResolutionTransitionState
 
Methods inherited from class com.atlassian.jira.project.statistics.type.AbstractStatisticType
calculateStatisticsCollection, decrementStatisticInCollection, decrementStatisticInCollectionWithSecurityType, incrementStatisticInCollection, incrementStatisticInCollectionWithSecurityType, isResolved
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeOpenByFixVersion

public TypeOpenByFixVersion()
Method Detail

getAssociatedEntities

protected java.util.Collection getAssociatedEntities(GenericValue project)
                                              throws GenericEntityException
Get all the Versions for the passed in project

Specified by:
getAssociatedEntities in class AbstractOpenByNodeAssocStatisticType
Throws:
GenericEntityException

doIssueConditionsMeet

protected boolean doIssueConditionsMeet(GenericValue issue)
Description copied from class: AbstractOpenByNodeAssocStatisticType
Checks that any conditions that are placed on the issue for this Statistic Type are met. This should be overridden by sub type. This is used for null entities

Specified by:
doIssueConditionsMeet in class AbstractOpenByNodeAssocStatisticType

getNullEntityParameter

protected SearchParameter getNullEntityParameter()
Description copied from class: AbstractOpenByNodeAssocStatisticType
Return a search parameter which will filter out any issues with this entity associated. For example with components, this parameter should return issues with no attached components.

Specified by:
getNullEntityParameter in class AbstractOpenByNodeAssocStatisticType

getAssociationName

protected java.lang.String getAssociationName()
Description copied from class: AbstractOpenByNodeAssocStatisticType
This is the name of the association between the issue and the entity.

Specified by:
getAssociationName in class AbstractOpenByNodeAssocStatisticType

getFieldName

protected java.lang.String getFieldName()
Description copied from class: AbstractStatisticType
This is the name of the field that will be 'grouped' for the statistic.

Specified by:
getFieldName in class AbstractStatisticType