public interface StopwatchManager
Modifier and Type | Method and Description |
---|---|
java.util.List<StopwatchDto> |
createFromHistory(com.atlassian.jira.issue.Issue issue,
int stopwatchConfigId,
int stopwatchSchemeId)
Create stopwatches from issue history
|
void |
deleteForIssue(com.atlassian.jira.issue.Issue issue)
Removes all stopwatch associated with issue.
|
void |
deleteForIssue(com.atlassian.jira.issue.Issue issue,
long customFieldId)
Removes all stopwatch associated with issue and custom field.
|
void |
doAction(StopwatchActionDto stopwatchActionDto)
Run the command on the stopwatch.
|
StopwatchDto |
getRealTimeData(com.jibrok.jira.plugins.timeinstatus.stopwatch.model.Stopwatch currentStopwatchBy)
Converts an AO object to Dto and sets the calendar-calculated time.
|
StopwatchDto |
getRealTimeData(StopwatchDto stopwatchDto)
Converts sets the calendar-calculated time to dto (Dto converted from AO object).
|
void |
trigger(com.atlassian.jira.event.issue.IssueEvent issueEvent,
boolean reindex,
com.jibrok.jira.plugins.timeinstatus.actionhistory.model.Reason reason)
Invokes a stopwatch command that matches the transmitted event
|
void deleteForIssue(com.atlassian.jira.issue.Issue issue)
void trigger(com.atlassian.jira.event.issue.IssueEvent issueEvent, boolean reindex, com.jibrok.jira.plugins.timeinstatus.actionhistory.model.Reason reason) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
StopwatchDto getRealTimeData(StopwatchDto stopwatchDto)
StopwatchDto getRealTimeData(com.jibrok.jira.plugins.timeinstatus.stopwatch.model.Stopwatch currentStopwatchBy)
void deleteForIssue(com.atlassian.jira.issue.Issue issue, long customFieldId)
void doAction(StopwatchActionDto stopwatchActionDto) throws com.atlassian.jira.issue.index.IndexException
com.atlassian.jira.issue.index.IndexException
java.util.List<StopwatchDto> createFromHistory(com.atlassian.jira.issue.Issue issue, int stopwatchConfigId, int stopwatchSchemeId) throws org.ofbiz.core.entity.GenericEntityException
issue
- stopwatchConfigId
- stopwatchSchemeId
- org.ofbiz.core.entity.GenericEntityException