@PublicSpi
public interface TimeMetricConditionFactory
Modifier and Type | Method and Description |
---|---|
List<? extends TimeMetricHitCondition> |
getAllHitConditions(com.atlassian.jira.project.Project project)
Get all conditions applicable for a given project
|
List<? extends TimeMetricMatchCondition> |
getAllMatchConditions(com.atlassian.jira.project.Project project)
Get all conditions applicable for a given project
|
TimeMetricHitCondition |
getHitCondition(String id)
Get a condition by id.
|
TimeMetricMatchCondition |
getMatchCondition(String id)
Get a condition by id.
|
TimeMetricHitCondition getHitCondition(String id)
List<? extends TimeMetricHitCondition> getAllHitConditions(com.atlassian.jira.project.Project project)
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)TimeMetricMatchCondition getMatchCondition(String id)
List<? extends TimeMetricMatchCondition> getAllMatchConditions(com.atlassian.jira.project.Project project)
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)Copyright © 2024 Atlassian. All rights reserved.