1. opensymphony
  2. quartz


jhouse  committed 8f69158

fix issue with volatility propertty of trigger.
CVS: ----------------------------------------------------------------------
CVS: Issue number:
CVS: If this change addresses one or more issues,
CVS: then enter the issue number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to the project by someone else; i.e.,
CVS: they sent us a patch or a set of diffs, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@25169f7d36a-ea1c-0410-88ea-9fd03e4c9665

  • Participants
  • Parent commits 4c8c265
  • Branches master

Comments (0)

Files changed (2)

File src/java/org/quartz/xml/JobSchedulingDataProcessor.java

View file
             digester.addBeanPropertySetter(prefix + "/" + TAG_NAME, "name");
             digester.addBeanPropertySetter(prefix + "/" + TAG_GROUP, "group");
             digester.addBeanPropertySetter(prefix + "/" + TAG_DESCRIPTION, "description");
+            digester.addBeanPropertySetter(prefix + "/" + TAG_VOLATILITY, "volatility");
             digester.addRule(prefix + "/" + TAG_MISFIRE_INSTRUCTION, new MisfireInstructionRule("misfireInstruction"));
             digester.addBeanPropertySetter(prefix + "/" + TAG_CALENDAR_NAME, "calendarName");
             digester.addBeanPropertySetter(prefix + "/" + TAG_JOB_NAME, "jobName");

File src/java/org/quartz/xml/job_scheduling_data_1_5.xsd

View file
 			<element name="description" type="xsd:string" minOccurs="0"/>
 			<element name="misfire-instruction" type="quartz:misfire-instructionType" minOccurs="0"/>
 			<element ref="quartz:calendar-name" minOccurs="0"/>
-		</sequence>
+			<element ref="quartz:volatility" minOccurs="0"/>
+  		</sequence>
 	<simpleType name="misfire-instructionType">
 			<documentation>Group in which the Job resides</documentation>
-	<element name="start-time" type="xsd:dateTime">
+   	<element name="start-time" type="xsd:dateTime">
 			<documentation>Start time of the job</documentation>