|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrackingEntryManager
For managing all things tracking related!
Method Summary | |
---|---|
void |
addResult(TrackingEntry entry,
long resultId,
int buildNumber)
Add a result to an existing tracking entry |
void |
addUser(TrackingEntry entry,
java.lang.String user,
java.lang.String userWhoUpdated)
Add a responsible user to an existing tracking entry |
void |
closeTrackingEntry(TrackingEntry entry)
Close a tracking entry. |
TrackingEntry |
createTrackingEntry(long planId,
boolean active)
Create a brand new tracking entry for this plan. |
java.util.Collection<TrackingEntry> |
getActiveTrackingEntriesForUser(java.lang.String username)
Find any active tracking entries for a given user. |
TrackingEntry |
getActiveTrackingEntryForPlan(long id)
Returns the currently open tracking entry for plan. |
TrackingEntry |
getTrackingEntryById(int id)
Find tracking entry by database id |
TrackingEntry |
getTrackingEntryByResultId(long resultId)
Find the tracking entry for a given chain result. |
TrackingEntry |
getTrackingEntryWithBuildNumber(long planId,
int buildNumber)
Find the tracking entry with given build number. |
void |
removeAllUsers(TrackingEntry entry)
Removes all existing responsible users from the existing tracking entry. |
void |
removeTrackingEntry(TrackingEntry trackingEntry)
Remove entire tracking entry. |
void |
removeTrackingForPlan(long idOfDeletedPlan)
Remove any tracking information for a given plan |
void |
removeTrackingForResult(long idOfDeletedResult)
Remove any tracking information for a given result |
void |
removeUser(TrackingEntry entry,
java.lang.String user)
Remove a responsible user from existing tracking entry |
void |
setActiveEntry(TrackingEntry trackingEntry)
Sets tracing entry to active. |
Method Detail |
---|
@Nullable TrackingEntry getTrackingEntryById(int id)
id
- of tracking entry to find
@Nullable TrackingEntry getTrackingEntryByResultId(long resultId)
resultId
- of the result
@Nullable TrackingEntry getActiveTrackingEntryForPlan(long id)
id
- of the plan
void addResult(@NotNull TrackingEntry entry, long resultId, int buildNumber)
entry
- to add result toresultId
- id of the result to addbuildNumber
- void addUser(@NotNull TrackingEntry entry, @NotNull java.lang.String user, @Nullable java.lang.String userWhoUpdated)
entry
- to add user toouser
- to adduserWhoUpdated
- user who updated the responsibility entry. Null if responsibility has been automatically assignedvoid removeUser(@NotNull TrackingEntry entry, @NotNull java.lang.String user)
entry
- to remove user fromuser
- to removevoid removeAllUsers(@NotNull TrackingEntry entry)
entry
- to remove users fromvoid closeTrackingEntry(@NotNull TrackingEntry entry)
entry
- to close@NotNull TrackingEntry createTrackingEntry(long planId, boolean active)
planId
- of planactive
- should the new entry be created as active entry
@NotNull java.util.Collection<TrackingEntry> getActiveTrackingEntriesForUser(@NotNull java.lang.String username)
username
- of the user
void removeTrackingForPlan(long idOfDeletedPlan)
idOfDeletedPlan
- db id of the planvoid removeTrackingForResult(long idOfDeletedResult)
idOfDeletedResult
- db if of the resultvoid removeTrackingEntry(TrackingEntry trackingEntry)
trackingEntry
- void setActiveEntry(TrackingEntry trackingEntry)
trackingEntry
- @Nullable TrackingEntry getTrackingEntryWithBuildNumber(long planId, int buildNumber)
planId
- buildNumber
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |