|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeTrackingIssueUpdater
Used to update the remaining estimate and time spent fields on an Issue
when
creating, updating, or deleting Worklog
's.
Field Summary | |
---|---|
static String |
EVENT_ORIGINAL_WORKLOG_PARAMETER
|
Method Summary | |
---|---|
void |
updateIssueOnWorklogCreate(com.atlassian.crowd.embedded.api.User user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Will set the Worklog.getIssue() 's remaining estimate to the newEstimate
and will increment the issues time spent by the Worklog.getTimeSpent() . |
void |
updateIssueOnWorklogDelete(com.atlassian.crowd.embedded.api.User user,
Worklog worklog,
Long newEstimate,
boolean dispatchEvent)
Will set the Worklog.getIssue() 's remaining estimate to the newEstimate
and will decrement the issues time spent by the Worklog.getTimeSpent() . |
void |
updateIssueOnWorklogUpdate(com.atlassian.crowd.embedded.api.User user,
Worklog originalWorklog,
Worklog newWorklog,
Long originalTimeSpent,
Long newEstimate,
boolean dispatchEvent)
Will set the Worklog.getIssue() 's remaining estimate to the newEstimate
and will decrement the issues time spent by the originalTimeSpent and then increment it by the
Worklog.getTimeSpent() . |
Field Detail |
---|
static final String EVENT_ORIGINAL_WORKLOG_PARAMETER
Method Detail |
---|
void updateIssueOnWorklogCreate(com.atlassian.crowd.embedded.api.User user, Worklog worklog, Long newEstimate, boolean dispatchEvent)
Worklog.getIssue()
's remaining estimate to the newEstimate
and will increment the issues time spent by the Worklog.getTimeSpent()
.
user
- the user performing the action, this user will be available in the dispatched event.worklog
- specifies the new amount of time spent and the issue to update.newEstimate
- if specified this value will over-write the Issue's remaining estimate.dispatchEvent
- if true then a EventType.ISSUE_WORKLOGGED_ID
will
be fired, otherwise no event will be fired.void updateIssueOnWorklogUpdate(com.atlassian.crowd.embedded.api.User user, Worklog originalWorklog, Worklog newWorklog, Long originalTimeSpent, Long newEstimate, boolean dispatchEvent)
Worklog.getIssue()
's remaining estimate to the newEstimate
and will decrement the issues time spent by the originalTimeSpent and then increment it by the
Worklog.getTimeSpent()
.
user
- the user performing the action, this user will be available in the dispatched event.originalWorklog
- newWorklog
- originalTimeSpent
- specifies the amount of time spent that was originally specified before the worklog
update.newEstimate
- if specified this value will over-write the Issue's remaining estimate.dispatchEvent
- if true then a EventType.ISSUE_WORKLOG_UPDATED_ID
willvoid updateIssueOnWorklogDelete(com.atlassian.crowd.embedded.api.User user, Worklog worklog, Long newEstimate, boolean dispatchEvent)
Worklog.getIssue()
's remaining estimate to the newEstimate
and will decrement the issues time spent by the Worklog.getTimeSpent()
.
user
- the user performing the action, this user will be available in the dispatched event.worklog
- specifies the amount of time spent to decrement and the issue to update.newEstimate
- if specified this value will over-write the Issue's remaining estimate.dispatchEvent
- if true then a EventType.ISSUE_WORKLOG_DELETED_ID
will
be fired, otherwise no event will be fired.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |