Interface TimeMetricConditionFactory


@PublicSpi public interface TimeMetricConditionFactory
Generates conditions
  • Method Details

    • getHitCondition

      TimeMetricHitCondition getHitCondition(String id)
      Get a condition by id.
      Returns:
      the condition or null if not supported
    • getAllHitConditions

      List<? extends TimeMetricHitCondition> getAllHitConditions(com.atlassian.jira.project.Project project)
      Get all conditions applicable for a given project

      Parameters:
      project - the project for which a condition might be applicable. All returned conditions must be independent of the project object, so only use this parameter to evaluate whether a condition makes sense (e.g. for a status condition to make sense the underlying status object must be used in the workflow defined for the project)
    • getMatchCondition

      TimeMetricMatchCondition getMatchCondition(String id)
      Get a condition by id.
      Returns:
      the condition or null if not supported
    • getAllMatchConditions

      List<? extends TimeMetricMatchCondition> getAllMatchConditions(com.atlassian.jira.project.Project project)
      Get all conditions applicable for a given project

      Parameters:
      project - the project for which a condition might be applicable. All returned conditions must be independent of the project object, so only use this parameter to evaluate whether a condition makes sense (e.g. for a status condition to make sense the underlying status object must be used in the workflow defined for the project)