@PublicSpi public interface TimeMetricHitCondition extends TimeMetricCondition
Modifier and Type | Method and Description |
---|---|
HitEvent |
evaluate(com.atlassian.jira.issue.Issue issue,
SLAChangeEvent event)
Evaluate the condition for a given issue and event
|
HitConditionHistory |
evaluateFromIssueHistory(com.atlassian.jira.issue.Issue issue,
org.joda.time.DateTime since,
org.joda.time.DateTime until)
Digs through issue history after a given moment in time when the condition matched the issue.
|
HitConditionHistory |
getHistory(com.atlassian.jira.issue.Issue issue,
org.joda.time.DateTime until)
Digs through issue history to reconstruct when the condition matched the issue.
|
String |
getId()
Get the unique id for this condition
|
String |
getNameHtml(com.atlassian.jira.util.I18nHelper i18n)
Get the name of this condition
|
getName
String getId()
String getNameHtml(com.atlassian.jira.util.I18nHelper i18n)
HitEvent evaluate(com.atlassian.jira.issue.Issue issue, SLAChangeEvent event)
issue
- an up-to-date issue objectevent
- a change eventHitConditionHistory getHistory(com.atlassian.jira.issue.Issue issue, org.joda.time.DateTime until)
issue
- an up-to-date issue objectuntil
- process all change items before or equal to this date and timeHitConditionHistory evaluateFromIssueHistory(com.atlassian.jira.issue.Issue issue, org.joda.time.DateTime since, org.joda.time.DateTime until)
issue
- an up-to-date issue objectsince
- process all change items after this date and timeuntil
- process all change items before or equal to this date and timeCopyright © 2024 Atlassian. All rights reserved.