📄 job_scheduling_data_1_1.xsd
字号:
</xsd:element> <xsd:complexType name="triggerType"> <xsd:annotation> <xsd:documentation>Define a Trigger</xsd:documentation> </xsd:annotation> <xsd:choice> <xsd:element name="simple" type="quartz:simpleType"/> <xsd:element name="cron" type="quartz:cronType"/> </xsd:choice> </xsd:complexType> <xsd:complexType name="abstractTriggerType" abstract="true"> <xsd:annotation> <xsd:documentation>Common Trigger definitions</xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:element ref="quartz:name"/> <xsd:element ref="quartz:group"/> <xsd:element minOccurs="0" name="misfire-instruction" type="quartz:misfire-instructionType"/> <xsd:element minOccurs="0" ref="quartz:calendar-name"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="misfire-instructionType"> <xsd:annotation> <xsd:documentation>Define a Trigger Misfire Instruction</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="MISFIRE_INSTRUCTION_SMART_POLICY"/> <xsd:pattern value="MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_EXISTING_COUNT"/> <xsd:pattern value="MISFIRE_INSTRUCTION_RESCHEDULE_NEXT_WITH_REMAINING_COUNT"/> <xsd:pattern value="MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_EXISTING_REPEAT_COUNT"/> <xsd:pattern value="MISFIRE_INSTRUCTION_RESCHEDULE_NOW_WITH_REMAINING_REPEAT_COUNT"/> <xsd:pattern value="MISFIRE_INSTRUCTION_DO_NOTHING"/> <xsd:pattern value="MISFIRE_INSTRUCTION_FIRE_ONCE_NOW"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="calendar-name" type="xsd:string"> <xsd:annotation> <xsd:documentation>Define a Trigger Calendar name</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="simpleType"> <xsd:annotation> <xsd:documentation>Define a SimpleTrigger</xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="quartz:abstractTriggerType"> <xsd:sequence> <xsd:sequence minOccurs="0"> <xsd:element ref="quartz:job-name"/> <xsd:element ref="quartz:job-group"/> </xsd:sequence> <xsd:sequence minOccurs="0"> <xsd:element ref="quartz:start-time"/> <xsd:element minOccurs="0" ref="quartz:end-time"/> </xsd:sequence> <xsd:sequence minOccurs="0"> <xsd:element name="repeat-count" type="quartz:repeat-countType"/> <xsd:element ref="quartz:repeat-interval"/> </xsd:sequence> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:element name="job-name" type="xsd:string"> <xsd:annotation> <xsd:documentation>Name of the Job</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="job-group" type="xsd:string"> <xsd:annotation> <xsd:documentation>Group in which the Job resides</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="start-time" type="xsd:dateTime"> <xsd:annotation> <xsd:documentation>Start time of the job</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="end-time" type="xsd:dateTime"> <xsd:annotation> <xsd:documentation>End time of the job</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:simpleType name="repeat-countType"> <xsd:annotation> <xsd:documentation>Number of times to repeat the Trigger (-1 for indefinite)</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="-1"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="repeat-interval" type="xsd:nonNegativeInteger"> <xsd:annotation> <xsd:documentation>Time interval (in milliseconds) at which the Trigger should repeat</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:complexType name="cronType"> <xsd:annotation> <xsd:documentation>Define a CronTrigger</xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="quartz:abstractTriggerType"> <xsd:sequence minOccurs="0"> <xsd:sequence> <xsd:element ref="quartz:job-name"/> <xsd:element ref="quartz:job-group"/> </xsd:sequence> <xsd:sequence minOccurs="0"> <xsd:sequence minOccurs="0"> <xsd:element ref="quartz:start-time"/> <xsd:element ref="quartz:end-time"/> </xsd:sequence> <xsd:element name="cron-expression" type="quartz:cron-expressionType"/> <xsd:element minOccurs="0" ref="quartz:time-zone"/> </xsd:sequence> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:simpleType name="cron-expressionType"> <xsd:annotation> <xsd:documentation> Cron expression (see JavaDoc for examples) Special thanks to Chris Thatcher (thatcher@butterfly.net) 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|WEN|THU|FRI|SAT|SUN),)*(MON|TUE|WEN|THU|FRI|SAT|SUN)(C)?) | ((MON|TUE|WEN|THU|FRI|SAT|SUN)(-|/)(MON|TUE|WEN|THU|FRI|SAT|SUN)(C)?) | (([1-7]|(MON|TUE|WEN|THU|FRI|SAT|SUN))?(L)?) | ([1-7]#([1-7])?) | ([\?]) | ([\*]) ) YEAR (OPTIONAL): ([\s]19[7-9][0-9]|20[0-9]{2})? </xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:string"> <xsd:pattern value="(((([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](((([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](((([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](((([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](((([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]((([1-7],)*([1-7]))|([1-7](/|-)([1-7]))|(((MON|TUE|WEN|THU|FRI|SAT|SUN),)*(MON|TUE|WEN|THU|FRI|SAT|SUN)(C)?)|((MON|TUE|WEN|THU|FRI|SAT|SUN)(-|/)(MON|TUE|WEN|THU|FRI|SAT|SUN)(C)?)|(([1-7]|(MON|TUE|WEN|THU|FRI|SAT|SUN))?(L)?)|([1-7]#([1-7])?)|([\?])|([\*]))([\s]19[7-9][0-9]|20[0-9]{2})?"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="time-zone" type="xsd:string"> <xsd:annotation> <xsd:documentation>Valid java.util.Timezone ID</xsd:documentation> </xsd:annotation> </xsd:element></xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -