C# Class Gallifrey.JiraTimers.JiraTimerCollection

Inheritance: IJiraTimerCollection
Afficher le fichier Open project: BlythMeister/Gallifrey Class Usage Examples

Méthodes publiques

Méthode Description
AddIdleTimer ( System.Guid uniqueId, List idleTimers ) : void
AddJiraExportedTime ( System.Guid uniqueId, int hours, int minutes ) : void
AddLocalTimer ( string localTimerDescription, System.DateTime startDate, System.TimeSpan seedTime, bool startNow ) : System.Guid
AddTimer ( Issue jiraIssue, System.DateTime startDate, System.TimeSpan seedTime, bool startNow ) : System.Guid
AdjustTime ( System.Guid uniqueId, int hours, int minutes, bool addTime ) : bool
ChangeLocalTimerDescription ( System.Guid timerGuid, string localTimerDescription ) : System.Guid
ChangeTimerDate ( System.Guid timerGuid, System.DateTime newStartDate ) : System.Guid
GetAllLocalTimers ( ) : IEnumerable
GetAllUnexportedTimers ( ) : IEnumerable
GetJiraReferencesForLastDays ( int days ) : IEnumerable
GetNumberExported ( ) : int>.Tuple
GetRunningTimerId ( ) : Guid?
GetStoppedUnexportedTimers ( ) : IEnumerable
GetTimer ( System.Guid timerGuid ) : JiraTimer
GetTimersForADate ( System.DateTime timerDate ) : IEnumerable
GetTotalExportableTime ( ) : System.TimeSpan
GetTotalExportedTimeThisWeek ( DayOfWeek startOfWeek ) : System.TimeSpan
GetTotalLocalTime ( ) : System.TimeSpan
GetTotalTimeForDate ( System.DateTime timerDate ) : System.TimeSpan
GetTotalTimeForDateNoSeconds ( System.DateTime timerDate ) : System.TimeSpan
GetValidTimerDates ( ) : IEnumerable
RefreshFromJira ( System.Guid uniqueId, Issue jiraIssue, User currentUser ) : void
RemoveTimer ( System.Guid uniqueId ) : void
RemoveTimersOlderThanDays ( int keepTimersForDays ) : void
RenameTimer ( System.Guid timerGuid, Issue newIssue ) : System.Guid
StartTimer ( System.Guid uniqueId ) : void
StopTimer ( System.Guid uniqueId, bool automatedStop ) : void

Private Methods

Méthode Description
AddTimer ( JiraTimer newTimer ) : void
JiraTimerCollection ( IExportSettings exportSettings, ITrackUsage trackUsage ) : System
RemoveTimerInternal ( System.Guid uniqueId ) : void
SaveTimers ( ) : void
UpdateAppSettings ( IExportSettings newExportSettings ) : void

Method Details

AddIdleTimer() public méthode

public AddIdleTimer ( System.Guid uniqueId, List idleTimers ) : void
uniqueId System.Guid
idleTimers List
Résultat void

AddJiraExportedTime() public méthode

public AddJiraExportedTime ( System.Guid uniqueId, int hours, int minutes ) : void
uniqueId System.Guid
hours int
minutes int
Résultat void

AddLocalTimer() public méthode

public AddLocalTimer ( string localTimerDescription, System.DateTime startDate, System.TimeSpan seedTime, bool startNow ) : System.Guid
localTimerDescription string
startDate System.DateTime
seedTime System.TimeSpan
startNow bool
Résultat System.Guid

AddTimer() public méthode

public AddTimer ( Issue jiraIssue, System.DateTime startDate, System.TimeSpan seedTime, bool startNow ) : System.Guid
jiraIssue Issue
startDate System.DateTime
seedTime System.TimeSpan
startNow bool
Résultat System.Guid

AdjustTime() public méthode

public AdjustTime ( System.Guid uniqueId, int hours, int minutes, bool addTime ) : bool
uniqueId System.Guid
hours int
minutes int
addTime bool
Résultat bool

ChangeLocalTimerDescription() public méthode

public ChangeLocalTimerDescription ( System.Guid timerGuid, string localTimerDescription ) : System.Guid
timerGuid System.Guid
localTimerDescription string
Résultat System.Guid

ChangeTimerDate() public méthode

public ChangeTimerDate ( System.Guid timerGuid, System.DateTime newStartDate ) : System.Guid
timerGuid System.Guid
newStartDate System.DateTime
Résultat System.Guid

GetAllLocalTimers() public méthode

public GetAllLocalTimers ( ) : IEnumerable
Résultat IEnumerable

GetAllUnexportedTimers() public méthode

public GetAllUnexportedTimers ( ) : IEnumerable
Résultat IEnumerable

GetJiraReferencesForLastDays() public méthode

public GetJiraReferencesForLastDays ( int days ) : IEnumerable
days int
Résultat IEnumerable

GetNumberExported() public méthode

public GetNumberExported ( ) : int>.Tuple
Résultat int>.Tuple

GetRunningTimerId() public méthode

public GetRunningTimerId ( ) : Guid?
Résultat Guid?

GetStoppedUnexportedTimers() public méthode

public GetStoppedUnexportedTimers ( ) : IEnumerable
Résultat IEnumerable

GetTimer() public méthode

public GetTimer ( System.Guid timerGuid ) : JiraTimer
timerGuid System.Guid
Résultat JiraTimer

GetTimersForADate() public méthode

public GetTimersForADate ( System.DateTime timerDate ) : IEnumerable
timerDate System.DateTime
Résultat IEnumerable

GetTotalExportableTime() public méthode

public GetTotalExportableTime ( ) : System.TimeSpan
Résultat System.TimeSpan

GetTotalExportedTimeThisWeek() public méthode

public GetTotalExportedTimeThisWeek ( DayOfWeek startOfWeek ) : System.TimeSpan
startOfWeek DayOfWeek
Résultat System.TimeSpan

GetTotalLocalTime() public méthode

public GetTotalLocalTime ( ) : System.TimeSpan
Résultat System.TimeSpan

GetTotalTimeForDate() public méthode

public GetTotalTimeForDate ( System.DateTime timerDate ) : System.TimeSpan
timerDate System.DateTime
Résultat System.TimeSpan

GetTotalTimeForDateNoSeconds() public méthode

public GetTotalTimeForDateNoSeconds ( System.DateTime timerDate ) : System.TimeSpan
timerDate System.DateTime
Résultat System.TimeSpan

GetValidTimerDates() public méthode

public GetValidTimerDates ( ) : IEnumerable
Résultat IEnumerable

RefreshFromJira() public méthode

public RefreshFromJira ( System.Guid uniqueId, Issue jiraIssue, User currentUser ) : void
uniqueId System.Guid
jiraIssue Issue
currentUser User
Résultat void

RemoveTimer() public méthode

public RemoveTimer ( System.Guid uniqueId ) : void
uniqueId System.Guid
Résultat void

RemoveTimersOlderThanDays() public méthode

public RemoveTimersOlderThanDays ( int keepTimersForDays ) : void
keepTimersForDays int
Résultat void

RenameTimer() public méthode

public RenameTimer ( System.Guid timerGuid, Issue newIssue ) : System.Guid
timerGuid System.Guid
newIssue Issue
Résultat System.Guid

StartTimer() public méthode

public StartTimer ( System.Guid uniqueId ) : void
uniqueId System.Guid
Résultat void

StopTimer() public méthode

public StopTimer ( System.Guid uniqueId, bool automatedStop ) : void
uniqueId System.Guid
automatedStop bool
Résultat void