org.quartz.xml.job_scheduling_data_1_5.xsd Maven / Gradle / Ivy
Go to download
SDK for dev_appserver (local development) with some of the dependencies shaded (repackaged)
Copyright (c) 2004-2005 by OpenSymphony
All rights reserved.
Previously Copyright (c) 2001-2004 James House
And Previously Copyright Third Eye Consulting, Inc. (c) 2004
...
The instance documents may indicate the published version of
the schema using the xsi:schemaLocation attribute for the Quartz
namespace with the following location:
http://www.opensymphony.com/quartz/xml/job_scheduling_data_1_5.xsd
]]>
Root level node
Version of the XML Schema instance
Whether the existing jobs will be overwritten.
Define a Job Listener
Job Listener class name
logical name for listener
Define a Calendar
Calendar class name
Flag to replace existing calendar
Define a Job
Define a JobDetail
Name of the JobDetail or Trigger
Group in which the JobDetail or Trigger resides
Fully qualified name of the Job class
logical name of the Job Listener
Whether the Job is volatile
Whether the Job is durable
Whether the Job is recoverable
Define a JobDataMap
Whether the JobDataMap allows transient data.
Define a JobDataMap entry
Define a JobDataMap key
Define a JobDataMap value
Define a Trigger
Common Trigger definitions
Define a Trigger Misfire Instruction
Define a Trigger Calendar name
Define a SimpleTrigger
Name of the Job
Group in which the Job resides
Start time of the job
End time of the job
Number of times to repeat the Trigger (-1 for indefinite)
Time interval (in milliseconds) at which the Trigger should repeat
Define a CronTrigger
Cron expression (see JavaDoc for examples)
Special thanks to Chris Thatcher ([email protected]) for the regular expression!
Regular expressions are not my strong point but I believe this is complete,
with the caveat that order for expressions like 3-0 is not legal but will pass,
and month and day names must be capitalized.
If you want to examine the correctness look for the [\s] to denote the
seperation of individual regular expressions. This is how I break them up visually
to examine them:
SECONDS:
(
((([0-9] | [0-5][0-9]),)*([0-9]|[0-5][0-9]))
| (([0-9]|[0-5][0-9])(/|-)([0-9]|[0-5][0-9]))
| ([\?])
| ([\*])
) [\s]
MINUTES:
(
((([0-9] | [0-5][0-9]),)*([0-9]|[0-5][0-9]))
| (([0-9]|[0-5][0-9])(/|-)([0-9]|[0-5][0-9]))
| ([\?])
| ([\*])
) [\s]
HOURS:
(
((([0-9]|[0-1][0-9]|[2][0-3]),)*([0-9]|[0-1][0-9]|[2][0-3]))
| (([0-9]|[0-1][0-9]|[2][0-3])(/|-)([0-9]|[0-1][0-9]|[2][0-3]))
| ([\?])
| ([\*])
) [\s]
DAY OF MONTH:
(
((([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1]),)*([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(C)?)
| (([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(/|-)([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(C)?)
| (L)
| ([\?])
| ([\*])
)[\s]
MONTH:
(
((([1-9]|0[1-9]|1[0-2]),)*([1-9]|0[1-9]|1[0-2]))
| (([1-9]|0[1-9]|1[0-2])(/|-)([1-9]|0[1-9]|1[0-2]))
| (((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC),)*(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))
| ((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-|/)(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))
| ([\?])
| ([\*])
)[\s]
DAY OF WEEK:
(
(([1-7],)*([1-7]))
| ([1-7](/|-)([1-7]))
| (((MON|TUE|WED|THU|FRI|SAT|SUN),)*(MON|TUE|WED|THU|FRI|SAT|SUN)(C)?)
| ((MON|TUE|WED|THU|FRI|SAT|SUN)(-|/)(MON|TUE|WED|THU|FRI|SAT|SUN)(C)?)
| (([1-7]|(MON|TUE|WED|THU|FRI|SAT|SUN))(L)?)
| ([1-7]#([1-7])?)
| ([\?])
| ([\*])
)
YEAR (OPTIONAL):
([\s]19[7-9][0-9]|20[0-9]{2})?
Valid java.util.Timezone ID