|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.timetracking.TimeTrackingServiceImpl
@Service public class TimeTrackingServiceImpl
Constructor Summary | |
---|---|
TimeTrackingServiceImpl()
|
Method Summary | |
---|---|
com.atlassian.jira.issue.util.AggregateTimeTrackingBean |
getAggregates(com.atlassian.jira.issue.Issue issue,
java.util.Collection<com.atlassian.jira.issue.Issue> subTasks)
Copied from IssueImplAggregateTimeTrackingCalculator.getAggregates(com.atlassian.jira.issue.Issue) . |
ServiceOutcome<java.lang.Void> |
updateOriginalEstimate(com.atlassian.jira.issue.Issue issue,
java.lang.String duration)
Updates the original estimate of an issue. |
ServiceOutcome<java.lang.Void> |
updateOriginalEstimate(com.atlassian.jira.issue.Issue issue,
java.lang.String duration,
boolean updateRemainingEstimateIfNotSet)
Updates the original estimate of an issue. |
ServiceOutcome<java.lang.Void> |
updateRemainingEstimate(com.atlassian.jira.issue.Issue issue,
java.lang.String duration)
Updates the remaining estimate of an issue. |
ServiceOutcome<java.lang.Void> |
updateRemainingEstimate(com.atlassian.jira.issue.Issue issue,
java.lang.String duration,
boolean updateOriginalEstimateIfNotSet)
Updates the remaining estimate of an issue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeTrackingServiceImpl()
Method Detail |
---|
@NotNull public ServiceOutcome<java.lang.Void> updateRemainingEstimate(com.atlassian.jira.issue.Issue issue, java.lang.String duration)
TimeTrackingService
updateRemainingEstimate
in interface TimeTrackingService
issue
- the issue to updateduration
- the duration to set
public ServiceOutcome<java.lang.Void> updateRemainingEstimate(com.atlassian.jira.issue.Issue issue, java.lang.String duration, boolean updateOriginalEstimateIfNotSet)
TimeTrackingService
updateRemainingEstimate
in interface TimeTrackingService
issue
- the issue to updateduration
- the duration to setupdateOriginalEstimateIfNotSet
- whether or not to update the original estimate as well if its not set (to emulate
JIRA's behaviour)
@NotNull public ServiceOutcome<java.lang.Void> updateOriginalEstimate(com.atlassian.jira.issue.Issue issue, java.lang.String duration)
TimeTrackingService
updateOriginalEstimate
in interface TimeTrackingService
issue
- the issue to updateduration
- the duration to set
public ServiceOutcome<java.lang.Void> updateOriginalEstimate(com.atlassian.jira.issue.Issue issue, java.lang.String duration, boolean updateRemainingEstimateIfNotSet)
TimeTrackingService
updateOriginalEstimate
in interface TimeTrackingService
issue
- the issue to updateduration
- the duration to setupdateRemainingEstimateIfNotSet
- whether or not to update the remaining estimate as well if it is not set (to emulate
JIRA's behaviour)
public com.atlassian.jira.issue.util.AggregateTimeTrackingBean getAggregates(com.atlassian.jira.issue.Issue issue, java.util.Collection<com.atlassian.jira.issue.Issue> subTasks)
IssueImplAggregateTimeTrackingCalculator.getAggregates(com.atlassian.jira.issue.Issue)
.
Creates and returns a bean that contains all aggregate time tracking information for given issue(not
a sub-task). This information is gathered from all issue's sub-tasks that a user in this context has
permission to see.
getAggregates
in interface TimeTrackingService
issue
- issue to calculate aggregates for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |