@PublicSpi public interface TimeMetricMatchCondition extends TimeMetricCondition
Modifier and Type | Method and Description |
---|---|
MatchEvent |
evaluate(com.atlassian.jira.issue.Issue issue,
SLAChangeEvent event)
Evaluate the condition for a given issue and event
|
MatchConditionHistory |
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.
|
MatchConditionHistory |
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)
MatchEvent evaluate(com.atlassian.jira.issue.Issue issue, SLAChangeEvent event)
issue
- an up-to-date issue objectevent
- a change eventMatchConditionHistory 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 timeMatchConditionHistory 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.