forked from mausch/QuartzNetWebConsole
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap IsJobGroupPaused / IsTriggerGroupPaused, as they're not always s…
…upported.
- Loading branch information
Showing
8 changed files
with
154 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using System.Collections.Generic; | ||
using Quartz; | ||
using Quartz.Collection; | ||
using Quartz.Impl.Matchers; | ||
|
||
namespace QuartzNetWebConsole.Utils { | ||
public interface ISchedulerWrapper { | ||
void Shutdown(); | ||
void Start(); | ||
void Standby(); | ||
void PauseAll(); | ||
void ResumeAll(); | ||
void ResumeJobGroup(string groupName); | ||
void ResumeTriggerGroup(string groupName); | ||
void PauseJobGroup(string groupName); | ||
void PauseTriggerGroup(string groupName); | ||
void RemoveGlobalJobListener(string name); | ||
void RemoveGlobalTriggerListener(string name); | ||
void DeleteJob(string jobName, string groupName); | ||
void PauseJob(string jobName, string groupName); | ||
void ResumeJob(string jobName, string groupName); | ||
void TriggerJob(string jobName, string groupName); | ||
void Interrupt(string jobName, string groupName); | ||
void ResumeTrigger(string triggerName, string groupName); | ||
void PauseTrigger(string triggerName, string groupName); | ||
void UnscheduleJob(string triggerName, string groupName); | ||
bool? IsJobGroupPaused(string groupName); | ||
bool? IsTriggerGroupPaused(string groupName); | ||
IEnumerable<IJobExecutionContext> GetCurrentlyExecutingJobs(); | ||
ISet<JobKey> GetJobKeys(GroupMatcher<JobKey> key); | ||
IJobDetail GetJobDetail(JobKey key); | ||
IEnumerable<string> GetTriggerGroupNames(); | ||
IEnumerable<string> GetJobGroupNames(); | ||
IEnumerable<string> GetCalendarNames(); | ||
IListenerManager ListenerManager { get; } | ||
string SchedulerName { get; } | ||
bool InStandbyMode { get; } | ||
ICalendar GetCalendar(string name); | ||
SchedulerMetaData GetMetaData(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters