Quartz.XmlXMLSchedulingDataProcessor
Namespace: Quartz.Xml
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
public class XMLSchedulingDataProcessor
The XMLSchedulingDataProcessor type exposes the following members.
Name | Description | |
---|---|---|
XMLSchedulingDataProcessor |
Constructor for XMLSchedulingDataProcessor.
|
Name | Description | |
---|---|---|
IgnoreDuplicates |
If true (and OverWriteExistingData is false) then any
job/triggers encountered in this file that have names that already exist
in the scheduler will be ignored, and no error will be produced.
| |
LoadedJobs | ||
LoadedTriggers | ||
OverWriteExistingData |
Whether the existing scheduling data (with same identifiers) will be
overwritten.
| |
ScheduleTriggerRelativeToReplacedTrigger |
If true (and OverWriteExistingData is true) then any
job/triggers encountered in this file that already exist is scheduler
will be updated with start time relative to old trigger. Effectively
new trigger's last fire time will be updated to old trigger's last fire time
and trigger's next fire time will updated to be next from this last fire time.
| |
TypeLoadHelper |
Name | Description | |
---|---|---|
AddJobGroupToNeverDelete | ||
AddJobToSchedule | ||
AddTriggerGroupToNeverDelete | ||
AddTriggerToSchedule | ||
AddValidationException |
Adds a detected validation exception.
| |
BuildTriggersByFQJobNameMap | ||
ClearValidationExceptions |
Resets the number of detected validation exceptions.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecutePreProcessCommands | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MaybeThrowValidationException |
Throws a ValidationException if the number of validationExceptions
detected is greater than zero.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ParseDateIntervalTriggerIntervalUnit | ||
ParseSimpleTriggerRepeatCount | ||
PrepForProcessing | ||
ProcessFile(CancellationToken) |
Process the xml file in the default location (a file named
"quartz_jobs.xml" in the current working directory).
| |
ProcessFile(String, CancellationToken) |
Process the xml file named .
| |
ProcessFile(String, String, CancellationToken) |
Process the xmlfile named with the given system
ID.
| |
ProcessFileAndScheduleJobs(IScheduler, CancellationToken) |
Process the xml file in the default location, and schedule all of the
jobs defined within it.
| |
ProcessFileAndScheduleJobs(String, IScheduler, CancellationToken) |
Process the xml file in the given location, and schedule all of the
jobs defined within it.
| |
ProcessFileAndScheduleJobs(IScheduler, Boolean, CancellationToken) |
Process the xml file in the default location, and schedule all of the jobs defined within it.
| |
ProcessFileAndScheduleJobs(String, String, IScheduler, CancellationToken) |
Process the xml file in the given location, and schedule all of the
jobs defined within it.
| |
ProcessInternal | ||
ProcessStream |
Process the xmlfile named with the given system
ID.
| |
ProcessStreamAndScheduleJobs |
Process the xml file in the given location, and schedule all of the
jobs defined within it.
| |
ReadMisfireInstructionFromString | ||
ScheduleJobs |
Schedules the given sets of jobs and triggers.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryParseEnumT |
Name | Description | |
---|---|---|
QuartzXmlFileName | ||
QuartzXsdResourceName |
The xml document must conform to the format defined in "job_scheduling_data_2_0.xsd"
After creating an instance of this class, you should call one of the ProcessFile(CancellationToken) functions, after which you may call the ScheduledJobs() function to get a handle to the defined Jobs and Triggers, which can then be scheduled with the IScheduler. Alternatively, you could call the ProcessFileAndScheduleJobs(IScheduler, CancellationToken) function to do all of this in one step.
The same instance can be used again and again, with the list of defined Jobs being cleared each time you call a ProcessFile(CancellationToken) method, however a single instance is not thread-safe.