Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/BaseQuartzTestCase.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/BaseQuartzTestCase.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/BaseQuartzTestCase.html Tue May 21 03:44:00 2019 @@ -1,64 +1,93 @@ -<HTML> -<BODY BGCOLOR="white"> -<PRE> -<FONT color="green">001</FONT> /*<a name="line.1"></a> -<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> -<FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> -<FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> -<FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> -<FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> -<FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> -<FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> -<FONT color="green">009</FONT> *<a name="line.9"></a> -<FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> -<FONT color="green">011</FONT> *<a name="line.11"></a> -<FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> -<FONT color="green">013</FONT> * software distributed under the License is distributed on an<a name="line.13"></a> -<FONT color="green">014</FONT> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> -<FONT color="green">015</FONT> * KIND, either express or implied. See the License for the<a name="line.15"></a> -<FONT color="green">016</FONT> * specific language governing permissions and limitations<a name="line.16"></a> -<FONT color="green">017</FONT> * under the License.<a name="line.17"></a> -<FONT color="green">018</FONT> */<a name="line.18"></a> -<FONT color="green">019</FONT> <a name="line.19"></a> -<FONT color="green">020</FONT> package org.apache.fulcrum.quartz;<a name="line.20"></a> -<FONT color="green">021</FONT> <a name="line.21"></a> -<FONT color="green">022</FONT> import org.apache.fulcrum.quartz.test.NotSoSimpleJob;<a name="line.22"></a> -<FONT color="green">023</FONT> import org.apache.fulcrum.quartz.test.SimpleJob;<a name="line.23"></a> -<FONT color="green">024</FONT> import org.apache.fulcrum.testcontainer.BaseUnitTest;<a name="line.24"></a> -<FONT color="green">025</FONT> <a name="line.25"></a> -<FONT color="green">026</FONT> /**<a name="line.26"></a> -<FONT color="green">027</FONT> * Handle looking up and then the icky cleanup of Quartz.<a name="line.27"></a> -<FONT color="green">028</FONT> *<a name="line.28"></a> -<FONT color="green">029</FONT> * @author <a href="mailto:[email protected]">Eric Pugh </a><a name="line.29"></a> -<FONT color="green">030</FONT> */<a name="line.30"></a> -<FONT color="green">031</FONT> public abstract class BaseQuartzTestCase extends BaseUnitTest {<a name="line.31"></a> -<FONT color="green">032</FONT> <a name="line.32"></a> -<FONT color="green">033</FONT> protected QuartzScheduler quartz;<a name="line.33"></a> -<FONT color="green">034</FONT> <a name="line.34"></a> -<FONT color="green">035</FONT> public BaseQuartzTestCase(String arg0) {<a name="line.35"></a> -<FONT color="green">036</FONT> super(arg0);<a name="line.36"></a> -<FONT color="green">037</FONT> }<a name="line.37"></a> -<FONT color="green">038</FONT> <a name="line.38"></a> -<FONT color="green">039</FONT> public BaseQuartzTestCase() {<a name="line.39"></a> -<FONT color="green">040</FONT> super("");<a name="line.40"></a> -<FONT color="green">041</FONT> }<a name="line.41"></a> -<FONT color="green">042</FONT> <a name="line.42"></a> -<FONT color="green">043</FONT> <a name="line.43"></a> -<FONT color="green">044</FONT> public void setUp() throws Exception {<a name="line.44"></a> -<FONT color="green">045</FONT> SimpleJob.reset();<a name="line.45"></a> -<FONT color="green">046</FONT> NotSoSimpleJob.reset();<a name="line.46"></a> -<FONT color="green">047</FONT> quartz = (QuartzScheduler) lookup(QuartzScheduler.class.getName());<a name="line.47"></a> -<FONT color="green">048</FONT> System.out.println(">>> " + getName() + ">>>");<a name="line.48"></a> -<FONT color="green">049</FONT> }<a name="line.49"></a> -<FONT color="green">050</FONT> <a name="line.50"></a> -<FONT color="green">051</FONT> <a name="line.51"></a> -<FONT color="green">052</FONT> public void tearDown() {<a name="line.52"></a> -<FONT color="green">053</FONT> release(QuartzScheduler.class.getName());<a name="line.53"></a> -<FONT color="green">054</FONT> SimpleJob.reset();<a name="line.54"></a> -<FONT color="green">055</FONT> NotSoSimpleJob.reset();<a name="line.55"></a> -<FONT color="green">056</FONT> super.tearDown();<a name="line.56"></a> -<FONT color="green">057</FONT> }<a name="line.57"></a> -<FONT color="green">058</FONT> }<a name="line.58"></a> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>package org.apache.fulcrum.quartz;<a name="line.1"></a> +<span class="sourceLineNo">002</span><a name="line.2"></a> +<span class="sourceLineNo">003</span><a name="line.3"></a> +<span class="sourceLineNo">004</span>import static org.junit.jupiter.api.Assertions.assertNotNull;<a name="line.4"></a> +<span class="sourceLineNo">005</span>import static org.junit.jupiter.api.Assertions.fail;<a name="line.5"></a> +<span class="sourceLineNo">006</span><a name="line.6"></a> +<span class="sourceLineNo">007</span>import org.apache.avalon.framework.logger.Logger;<a name="line.7"></a> +<span class="sourceLineNo">008</span>import org.apache.fulcrum.quartz.test.NotSoSimpleJob;<a name="line.8"></a> +<span class="sourceLineNo">009</span>import org.apache.fulcrum.quartz.test.SimpleJob;<a name="line.9"></a> +<span class="sourceLineNo">010</span><a name="line.10"></a> +<span class="sourceLineNo">011</span>/*<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.12"></a> +<span class="sourceLineNo">013</span> * or more contributor license agreements. See the NOTICE file<a name="line.13"></a> +<span class="sourceLineNo">014</span> * distributed with this work for additional information<a name="line.14"></a> +<span class="sourceLineNo">015</span> * regarding copyright ownership. The ASF licenses this file<a name="line.15"></a> +<span class="sourceLineNo">016</span> * to you under the Apache License, Version 2.0 (the<a name="line.16"></a> +<span class="sourceLineNo">017</span> * "License"); you may not use this file except in compliance<a name="line.17"></a> +<span class="sourceLineNo">018</span> * with the License. You may obtain a copy of the License at<a name="line.18"></a> +<span class="sourceLineNo">019</span> *<a name="line.19"></a> +<span class="sourceLineNo">020</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.20"></a> +<span class="sourceLineNo">021</span> *<a name="line.21"></a> +<span class="sourceLineNo">022</span> * Unless required by applicable law or agreed to in writing,<a name="line.22"></a> +<span class="sourceLineNo">023</span> * software distributed under the License is distributed on an<a name="line.23"></a> +<span class="sourceLineNo">024</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.24"></a> +<span class="sourceLineNo">025</span> * KIND, either express or implied. See the License for the<a name="line.25"></a> +<span class="sourceLineNo">026</span> * specific language governing permissions and limitations<a name="line.26"></a> +<span class="sourceLineNo">027</span> * under the License.<a name="line.27"></a> +<span class="sourceLineNo">028</span> */<a name="line.28"></a> +<span class="sourceLineNo">029</span><a name="line.29"></a> +<span class="sourceLineNo">030</span><a name="line.30"></a> +<span class="sourceLineNo">031</span>import org.apache.fulcrum.testcontainer.BaseUnit5Test;<a name="line.31"></a> +<span class="sourceLineNo">032</span>import org.junit.jupiter.api.AfterEach;<a name="line.32"></a> +<span class="sourceLineNo">033</span>import org.junit.jupiter.api.BeforeEach;<a name="line.33"></a> +<span class="sourceLineNo">034</span>import org.junit.platform.runner.JUnitPlatform;<a name="line.34"></a> +<span class="sourceLineNo">035</span>import org.junit.runner.RunWith;<a name="line.35"></a> +<span class="sourceLineNo">036</span><a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span>/**<a name="line.38"></a> +<span class="sourceLineNo">039</span> * Handle looking up and then the icky cleanup of Quartz.<a name="line.39"></a> +<span class="sourceLineNo">040</span> *<a name="line.40"></a> +<span class="sourceLineNo">041</span> * @author <a href="mailto:[email protected]">Eric Pugh </a><a name="line.41"></a> +<span class="sourceLineNo">042</span> */<a name="line.42"></a> +<span class="sourceLineNo">043</span>@RunWith(JUnitPlatform.class)<a name="line.43"></a> +<span class="sourceLineNo">044</span>public class BaseQuartzTestCase extends BaseUnit5Test <a name="line.44"></a> +<span class="sourceLineNo">045</span>{<a name="line.45"></a> +<span class="sourceLineNo">046</span><a name="line.46"></a> +<span class="sourceLineNo">047</span> private final String preDefinedOutput = "{\"container\":{\"cf\":\"Config.xml\"},\"configurationName\":\"Config.xml\",\"name\":\"mytest\"}";<a name="line.47"></a> +<span class="sourceLineNo">048</span> QuartzScheduler quartz = null;<a name="line.48"></a> +<span class="sourceLineNo">049</span> Logger logger;<a name="line.49"></a> +<span class="sourceLineNo">050</span><a name="line.50"></a> +<span class="sourceLineNo">051</span> /**<a name="line.51"></a> +<span class="sourceLineNo">052</span> * @throws Exception generic exception<a name="line.52"></a> +<span class="sourceLineNo">053</span> */<a name="line.53"></a> +<span class="sourceLineNo">054</span> @BeforeEach<a name="line.54"></a> +<span class="sourceLineNo">055</span> public void setUp() throws Exception <a name="line.55"></a> +<span class="sourceLineNo">056</span> {<a name="line.56"></a> +<span class="sourceLineNo">057</span> SimpleJob.reset();<a name="line.57"></a> +<span class="sourceLineNo">058</span> NotSoSimpleJob.reset();<a name="line.58"></a> +<span class="sourceLineNo">059</span> try <a name="line.59"></a> +<span class="sourceLineNo">060</span> {<a name="line.60"></a> +<span class="sourceLineNo">061</span> quartz = (QuartzScheduler) this.lookup(QuartzScheduler.ROLE);<a name="line.61"></a> +<span class="sourceLineNo">062</span> } <a name="line.62"></a> +<span class="sourceLineNo">063</span> catch (Throwable e) <a name="line.63"></a> +<span class="sourceLineNo">064</span> {<a name="line.64"></a> +<span class="sourceLineNo">065</span> fail(e.getMessage());<a name="line.65"></a> +<span class="sourceLineNo">066</span> }<a name="line.66"></a> +<span class="sourceLineNo">067</span> assertNotNull(quartz);<a name="line.67"></a> +<span class="sourceLineNo">068</span> } <a name="line.68"></a> +<span class="sourceLineNo">069</span> <a name="line.69"></a> +<span class="sourceLineNo">070</span> <a name="line.70"></a> +<span class="sourceLineNo">071</span> /* (non-Javadoc)<a name="line.71"></a> +<span class="sourceLineNo">072</span> * @see org.apache.fulcrum.testcontainer.BaseUnit5Test#tearDown()<a name="line.72"></a> +<span class="sourceLineNo">073</span> */<a name="line.73"></a> +<span class="sourceLineNo">074</span> @AfterEach<a name="line.74"></a> +<span class="sourceLineNo">075</span> public void tearDown() <a name="line.75"></a> +<span class="sourceLineNo">076</span> {<a name="line.76"></a> +<span class="sourceLineNo">077</span> release(QuartzScheduler.ROLE);<a name="line.77"></a> +<span class="sourceLineNo">078</span> SimpleJob.reset();<a name="line.78"></a> +<span class="sourceLineNo">079</span> NotSoSimpleJob.reset();<a name="line.79"></a> +<span class="sourceLineNo">080</span> super.tearDown();<a name="line.80"></a> +<span class="sourceLineNo">081</span> }<a name="line.81"></a> +<span class="sourceLineNo">082</span>}<a name="line.82"></a> @@ -119,6 +148,7 @@ -</PRE> -</BODY> -</HTML> +</pre> +</div> +</body> +</html> \ No newline at end of file
Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/DefaultQuartzSchedulerImplTest.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/DefaultQuartzSchedulerImplTest.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/DefaultQuartzSchedulerImplTest.html Tue May 21 03:44:00 2019 @@ -1,142 +1,170 @@ -<HTML> -<BODY BGCOLOR="white"> -<PRE> -<FONT color="green">001</FONT> /*<a name="line.1"></a> -<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> -<FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> -<FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> -<FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> -<FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> -<FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> -<FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> -<FONT color="green">009</FONT> *<a name="line.9"></a> -<FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> -<FONT color="green">011</FONT> *<a name="line.11"></a> -<FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> -<FONT color="green">013</FONT> * software distributed under the License is distributed on an<a name="line.13"></a> -<FONT color="green">014</FONT> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> -<FONT color="green">015</FONT> * KIND, either express or implied. See the License for the<a name="line.15"></a> -<FONT color="green">016</FONT> * specific language governing permissions and limitations<a name="line.16"></a> -<FONT color="green">017</FONT> * under the License.<a name="line.17"></a> -<FONT color="green">018</FONT> */<a name="line.18"></a> -<FONT color="green">019</FONT> <a name="line.19"></a> -<FONT color="green">020</FONT> package org.apache.fulcrum.quartz;<a name="line.20"></a> -<FONT color="green">021</FONT> <a name="line.21"></a> -<FONT color="green">022</FONT> import java.util.Date;<a name="line.22"></a> -<FONT color="green">023</FONT> import java.util.List;<a name="line.23"></a> -<FONT color="green">024</FONT> import java.util.Set;<a name="line.24"></a> -<FONT color="green">025</FONT> <a name="line.25"></a> -<FONT color="green">026</FONT> import org.apache.fulcrum.quartz.test.NotSoSimpleJob;<a name="line.26"></a> -<FONT color="green">027</FONT> import org.apache.fulcrum.quartz.test.SimpleJob;<a name="line.27"></a> -<FONT color="green">028</FONT> import org.quartz.DateBuilder;<a name="line.28"></a> -<FONT color="green">029</FONT> import org.quartz.JobDetail;<a name="line.29"></a> -<FONT color="green">030</FONT> import org.quartz.JobKey;<a name="line.30"></a> -<FONT color="green">031</FONT> import org.quartz.Scheduler;<a name="line.31"></a> -<FONT color="green">032</FONT> import org.quartz.SimpleScheduleBuilder;<a name="line.32"></a> -<FONT color="green">033</FONT> import org.quartz.Trigger;<a name="line.33"></a> -<FONT color="green">034</FONT> import org.quartz.TriggerBuilder;<a name="line.34"></a> -<FONT color="green">035</FONT> import org.quartz.TriggerKey;<a name="line.35"></a> -<FONT color="green">036</FONT> import org.quartz.impl.matchers.GroupMatcher;<a name="line.36"></a> -<FONT color="green">037</FONT> <a name="line.37"></a> -<FONT color="green">038</FONT> /**<a name="line.38"></a> -<FONT color="green">039</FONT> * @author <a href="mailto:[email protected]">Leandro Rodrigo Saad Cruz</a><a name="line.39"></a> -<FONT color="green">040</FONT> * @author <a href="mailto:[email protected]">Eric Pugh </a><a name="line.40"></a> -<FONT color="green">041</FONT> */<a name="line.41"></a> -<FONT color="green">042</FONT> public class DefaultQuartzSchedulerImplTest extends BaseQuartzTestCase<a name="line.42"></a> -<FONT color="green">043</FONT> {<a name="line.43"></a> -<FONT color="green">044</FONT> <a name="line.44"></a> -<FONT color="green">045</FONT> /**<a name="line.45"></a> -<FONT color="green">046</FONT> * Make sure that the Quartz sheduler is up and running<a name="line.46"></a> -<FONT color="green">047</FONT> */<a name="line.47"></a> -<FONT color="green">048</FONT> public void testService() throws Exception<a name="line.48"></a> -<FONT color="green">049</FONT> {<a name="line.49"></a> -<FONT color="green">050</FONT> Scheduler scheduler = quartz.getScheduler();<a name="line.50"></a> -<FONT color="green">051</FONT> assertNotNull(scheduler);<a name="line.51"></a> -<FONT color="green">052</FONT> assertNotNull(scheduler.getContext());<a name="line.52"></a> -<FONT color="green">053</FONT> }<a name="line.53"></a> -<FONT color="green">054</FONT> <a name="line.54"></a> -<FONT color="green">055</FONT> /**<a name="line.55"></a> -<FONT color="green">056</FONT> * Get all scheduled jobs for "TURBINE" to make sure that<a name="line.56"></a> -<FONT color="green">057</FONT> * the registration worked.<a name="line.57"></a> -<FONT color="green">058</FONT> */<a name="line.58"></a> -<FONT color="green">059</FONT> public void testGetJobs() throws Exception<a name="line.59"></a> -<FONT color="green">060</FONT> {<a name="line.60"></a> -<FONT color="green">061</FONT> Scheduler scheduler = quartz.getScheduler();<a name="line.61"></a> -<FONT color="green">062</FONT> assertNotNull(scheduler);<a name="line.62"></a> -<FONT color="green">063</FONT> Set jobNames = scheduler.getJobKeys(GroupMatcher.groupEquals("TURBINE"));<a name="line.63"></a> -<FONT color="green">064</FONT> assertEquals("Expected two registered jobs", 2, jobNames.size());<a name="line.64"></a> -<FONT color="green">065</FONT> }<a name="line.65"></a> -<FONT color="green">066</FONT> <a name="line.66"></a> -<FONT color="green">067</FONT> /**<a name="line.67"></a> -<FONT color="green">068</FONT> * Get the job details and job data map of an existing job to<a name="line.68"></a> -<FONT color="green">069</FONT> * make sure that the XStream configuration works.<a name="line.69"></a> -<FONT color="green">070</FONT> */<a name="line.70"></a> -<FONT color="green">071</FONT> public void testJobDetailMap() throws Exception<a name="line.71"></a> -<FONT color="green">072</FONT> {<a name="line.72"></a> -<FONT color="green">073</FONT> JobDetail jobDetail = quartz.getScheduler().getJobDetail(JobKey.jobKey("simpleJob", "TURBINE"));<a name="line.73"></a> -<FONT color="green">074</FONT> assertNotNull(jobDetail);<a name="line.74"></a> -<FONT color="green">075</FONT> assertEquals("simpleJob", jobDetail.getKey().getName());<a name="line.75"></a> -<FONT color="green">076</FONT> assertNotNull(jobDetail.getJobDataMap());<a name="line.76"></a> -<FONT color="green">077</FONT> assertEquals(2, jobDetail.getJobDataMap().size());<a name="line.77"></a> -<FONT color="green">078</FONT> }<a name="line.78"></a> -<FONT color="green">079</FONT> <a name="line.79"></a> -<FONT color="green">080</FONT> /**<a name="line.80"></a> -<FONT color="green">081</FONT> * Make sure the "notSoSimpleJob" is triggered by the CronTrigger.<a name="line.81"></a> -<FONT color="green">082</FONT> */<a name="line.82"></a> -<FONT color="green">083</FONT> public void testGetTriggersOfJob() throws Exception<a name="line.83"></a> -<FONT color="green">084</FONT> {<a name="line.84"></a> -<FONT color="green">085</FONT> List triggers = quartz.getScheduler().getTriggersOfJob(JobKey.jobKey("notSoSimpleJob", "TURBINE"));<a name="line.85"></a> -<FONT color="green">086</FONT> assertEquals(1, triggers.size());<a name="line.86"></a> -<FONT color="green">087</FONT> assertEquals("cronTrigger", ((Trigger)triggers.get(0)).getKey().getName());<a name="line.87"></a> -<FONT color="green">088</FONT> }<a name="line.88"></a> -<FONT color="green">089</FONT> <a name="line.89"></a> -<FONT color="green">090</FONT> /**<a name="line.90"></a> -<FONT color="green">091</FONT> * Test adding/removing a scheduled job which would be executed<a name="line.91"></a> -<FONT color="green">092</FONT> * in the future.<a name="line.92"></a> -<FONT color="green">093</FONT> */<a name="line.93"></a> -<FONT color="green">094</FONT> public void testAddRemoveTrigger() throws Exception<a name="line.94"></a> -<FONT color="green">095</FONT> {<a name="line.95"></a> -<FONT color="green">096</FONT> Scheduler scheduler = quartz.getScheduler();<a name="line.96"></a> -<FONT color="green">097</FONT> TriggerKey triggerKey = TriggerKey.triggerKey("someTrigger", "TURBINE");<a name="line.97"></a> -<FONT color="green">098</FONT> <a name="line.98"></a> -<FONT color="green">099</FONT> Date date = DateBuilder.dateOf(0, 0, 0, 1, 1, 2099);<a name="line.99"></a> -<FONT color="green">100</FONT> <a name="line.100"></a> -<FONT color="green">101</FONT> Trigger someDay = TriggerBuilder.newTrigger()<a name="line.101"></a> -<FONT color="green">102</FONT> .withIdentity(triggerKey)<a name="line.102"></a> -<FONT color="green">103</FONT> .forJob("simpleJob", "TURBINE")<a name="line.103"></a> -<FONT color="green">104</FONT> .withSchedule(SimpleScheduleBuilder.simpleSchedule()<a name="line.104"></a> -<FONT color="green">105</FONT> .withIntervalInHours(1)<a name="line.105"></a> -<FONT color="green">106</FONT> .repeatForever())<a name="line.106"></a> -<FONT color="green">107</FONT> .startAt(date)<a name="line.107"></a> -<FONT color="green">108</FONT> .build();<a name="line.108"></a> -<FONT color="green">109</FONT> <a name="line.109"></a> -<FONT color="green">110</FONT> scheduler.scheduleJob(someDay);<a name="line.110"></a> -<FONT color="green">111</FONT> <a name="line.111"></a> -<FONT color="green">112</FONT> Trigger trigger = scheduler.getTrigger(triggerKey);<a name="line.112"></a> -<FONT color="green">113</FONT> assertNotNull(trigger);<a name="line.113"></a> -<FONT color="green">114</FONT> scheduler.unscheduleJob(triggerKey);<a name="line.114"></a> -<FONT color="green">115</FONT> trigger = scheduler.getTrigger(triggerKey);<a name="line.115"></a> -<FONT color="green">116</FONT> assertNull(trigger);<a name="line.116"></a> -<FONT color="green">117</FONT> }<a name="line.117"></a> -<FONT color="green">118</FONT> <a name="line.118"></a> -<FONT color="green">119</FONT> /**<a name="line.119"></a> -<FONT color="green">120</FONT> * Make sure that our two registered jobs are executed after<a name="line.120"></a> -<FONT color="green">121</FONT> * one second.<a name="line.121"></a> -<FONT color="green">122</FONT> */<a name="line.122"></a> -<FONT color="green">123</FONT> public void testJobExecution() throws Exception<a name="line.123"></a> -<FONT color="green">124</FONT> {<a name="line.124"></a> -<FONT color="green">125</FONT> Thread.sleep(2000);<a name="line.125"></a> -<FONT color="green">126</FONT> assertTrue("SimpleJob was not executed", SimpleJob.wasExecuted);<a name="line.126"></a> -<FONT color="green">127</FONT> assertTrue("NotSoSimpleJob was not executed", NotSoSimpleJob.wasExecuted);<a name="line.127"></a> -<FONT color="green">128</FONT> assertTrue("NotSoSimpleJob was not serviced", NotSoSimpleJob.wasServiced);<a name="line.128"></a> -<FONT color="green">129</FONT> SimpleJob.reset();<a name="line.129"></a> -<FONT color="green">130</FONT> NotSoSimpleJob.reset();<a name="line.130"></a> -<FONT color="green">131</FONT> Thread.sleep(2000);<a name="line.131"></a> -<FONT color="green">132</FONT> assertTrue("SimpleJob was not executed", SimpleJob.wasExecuted);<a name="line.132"></a> -<FONT color="green">133</FONT> assertTrue("NotSoSimpleJob was not executed", NotSoSimpleJob.wasExecuted);<a name="line.133"></a> -<FONT color="green">134</FONT> assertTrue("NotSoSimpleJob was not serviced", NotSoSimpleJob.wasServiced);<a name="line.134"></a> -<FONT color="green">135</FONT> }<a name="line.135"></a> -<FONT color="green">136</FONT> }<a name="line.136"></a> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>package org.apache.fulcrum.quartz;<a name="line.1"></a> +<span class="sourceLineNo">002</span><a name="line.2"></a> +<span class="sourceLineNo">003</span><a name="line.3"></a> +<span class="sourceLineNo">004</span><a name="line.4"></a> +<span class="sourceLineNo">005</span>/*<a name="line.5"></a> +<span class="sourceLineNo">006</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.6"></a> +<span class="sourceLineNo">007</span> * or more contributor license agreements. See the NOTICE file<a name="line.7"></a> +<span class="sourceLineNo">008</span> * distributed with this work for additional information<a name="line.8"></a> +<span class="sourceLineNo">009</span> * regarding copyright ownership. The ASF licenses this file<a name="line.9"></a> +<span class="sourceLineNo">010</span> * to you under the Apache License, Version 2.0 (the<a name="line.10"></a> +<span class="sourceLineNo">011</span> * "License"); you may not use this file except in compliance<a name="line.11"></a> +<span class="sourceLineNo">012</span> * with the License. You may obtain a copy of the License at<a name="line.12"></a> +<span class="sourceLineNo">013</span> *<a name="line.13"></a> +<span class="sourceLineNo">014</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.14"></a> +<span class="sourceLineNo">015</span> *<a name="line.15"></a> +<span class="sourceLineNo">016</span> * Unless required by applicable law or agreed to in writing,<a name="line.16"></a> +<span class="sourceLineNo">017</span> * software distributed under the License is distributed on an<a name="line.17"></a> +<span class="sourceLineNo">018</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.18"></a> +<span class="sourceLineNo">019</span> * KIND, either express or implied. See the License for the<a name="line.19"></a> +<span class="sourceLineNo">020</span> * specific language governing permissions and limitations<a name="line.20"></a> +<span class="sourceLineNo">021</span> * under the License.<a name="line.21"></a> +<span class="sourceLineNo">022</span> */<a name="line.22"></a> +<span class="sourceLineNo">023</span><a name="line.23"></a> +<span class="sourceLineNo">024</span><a name="line.24"></a> +<span class="sourceLineNo">025</span>import java.util.Date;<a name="line.25"></a> +<span class="sourceLineNo">026</span>import java.util.List;<a name="line.26"></a> +<span class="sourceLineNo">027</span>import java.util.Set;<a name="line.27"></a> +<span class="sourceLineNo">028</span><a name="line.28"></a> +<span class="sourceLineNo">029</span>import org.apache.fulcrum.quartz.test.NotSoSimpleJob;<a name="line.29"></a> +<span class="sourceLineNo">030</span>import org.apache.fulcrum.quartz.test.SimpleJob;<a name="line.30"></a> +<span class="sourceLineNo">031</span>import org.junit.jupiter.api.Test;<a name="line.31"></a> +<span class="sourceLineNo">032</span>import org.quartz.DateBuilder;<a name="line.32"></a> +<span class="sourceLineNo">033</span>import org.quartz.JobDetail;<a name="line.33"></a> +<span class="sourceLineNo">034</span>import org.quartz.JobKey;<a name="line.34"></a> +<span class="sourceLineNo">035</span>import org.quartz.Scheduler;<a name="line.35"></a> +<span class="sourceLineNo">036</span>import org.quartz.SimpleScheduleBuilder;<a name="line.36"></a> +<span class="sourceLineNo">037</span>import org.quartz.Trigger;<a name="line.37"></a> +<span class="sourceLineNo">038</span>import org.quartz.TriggerBuilder;<a name="line.38"></a> +<span class="sourceLineNo">039</span>import org.quartz.TriggerKey;<a name="line.39"></a> +<span class="sourceLineNo">040</span>import org.quartz.impl.matchers.GroupMatcher;<a name="line.40"></a> +<span class="sourceLineNo">041</span><a name="line.41"></a> +<span class="sourceLineNo">042</span>import static org.junit.jupiter.api.Assertions.assertNotNull;<a name="line.42"></a> +<span class="sourceLineNo">043</span>import static org.junit.jupiter.api.Assertions.assertEquals;<a name="line.43"></a> +<span class="sourceLineNo">044</span>import static org.junit.jupiter.api.Assertions.assertNull;<a name="line.44"></a> +<span class="sourceLineNo">045</span>import static org.junit.jupiter.api.Assertions.assertTrue;<a name="line.45"></a> +<span class="sourceLineNo">046</span><a name="line.46"></a> +<span class="sourceLineNo">047</span>/**<a name="line.47"></a> +<span class="sourceLineNo">048</span> * @author <a href="mailto:[email protected]">Leandro Rodrigo Saad<a name="line.48"></a> +<span class="sourceLineNo">049</span> * Cruz</a><a name="line.49"></a> +<span class="sourceLineNo">050</span> * @author <a href="mailto:[email protected]">Eric Pugh </a><a name="line.50"></a> +<span class="sourceLineNo">051</span> */<a name="line.51"></a> +<span class="sourceLineNo">052</span>public class DefaultQuartzSchedulerImplTest extends BaseQuartzTestCase <a name="line.52"></a> +<span class="sourceLineNo">053</span>{<a name="line.53"></a> +<span class="sourceLineNo">054</span><a name="line.54"></a> +<span class="sourceLineNo">055</span> /**<a name="line.55"></a> +<span class="sourceLineNo">056</span> * Make sure that the Quartz scheduler is up and running<a name="line.56"></a> +<span class="sourceLineNo">057</span> * <a name="line.57"></a> +<span class="sourceLineNo">058</span> * @throws Exception generic exception<a name="line.58"></a> +<span class="sourceLineNo">059</span> */<a name="line.59"></a> +<span class="sourceLineNo">060</span> @Test<a name="line.60"></a> +<span class="sourceLineNo">061</span> public void testService() throws Exception <a name="line.61"></a> +<span class="sourceLineNo">062</span> {<a name="line.62"></a> +<span class="sourceLineNo">063</span> Scheduler scheduler = quartz.getScheduler();<a name="line.63"></a> +<span class="sourceLineNo">064</span> assertNotNull(scheduler);<a name="line.64"></a> +<span class="sourceLineNo">065</span> assertNotNull(scheduler.getContext());<a name="line.65"></a> +<span class="sourceLineNo">066</span> }<a name="line.66"></a> +<span class="sourceLineNo">067</span><a name="line.67"></a> +<span class="sourceLineNo">068</span> /**<a name="line.68"></a> +<span class="sourceLineNo">069</span> * The following test has been updated for Quartz 2.3.0 Adding/removing a<a name="line.69"></a> +<span class="sourceLineNo">070</span> * scheduled job<a name="line.70"></a> +<span class="sourceLineNo">071</span> * <a name="line.71"></a> +<span class="sourceLineNo">072</span> * @throws Exception generic exception<a name="line.72"></a> +<span class="sourceLineNo">073</span> */<a name="line.73"></a> +<span class="sourceLineNo">074</span> @Test<a name="line.74"></a> +<span class="sourceLineNo">075</span> public void testAddRemoveTrigger() throws Exception <a name="line.75"></a> +<span class="sourceLineNo">076</span> {<a name="line.76"></a> +<span class="sourceLineNo">077</span><a name="line.77"></a> +<span class="sourceLineNo">078</span> Scheduler scheduler = quartz.getScheduler();<a name="line.78"></a> +<span class="sourceLineNo">079</span> TriggerKey triggerKey = TriggerKey.triggerKey("someTrigger", "TURBINE");<a name="line.79"></a> +<span class="sourceLineNo">080</span><a name="line.80"></a> +<span class="sourceLineNo">081</span> Date date = DateBuilder.dateOf(0, 0, 0, 1, 1, 2099);<a name="line.81"></a> +<span class="sourceLineNo">082</span><a name="line.82"></a> +<span class="sourceLineNo">083</span> Trigger someDay = TriggerBuilder.newTrigger().withIdentity(triggerKey).forJob("simpleJob", "TURBINE")<a name="line.83"></a> +<span class="sourceLineNo">084</span> .withSchedule(SimpleScheduleBuilder.simpleSchedule().withIntervalInHours(1).repeatForever())<a name="line.84"></a> +<span class="sourceLineNo">085</span> .startAt(date).build();<a name="line.85"></a> +<span class="sourceLineNo">086</span><a name="line.86"></a> +<span class="sourceLineNo">087</span> scheduler.scheduleJob(someDay);<a name="line.87"></a> +<span class="sourceLineNo">088</span><a name="line.88"></a> +<span class="sourceLineNo">089</span> Trigger trigger = scheduler.getTrigger(triggerKey);<a name="line.89"></a> +<span class="sourceLineNo">090</span> assertNotNull(trigger);<a name="line.90"></a> +<span class="sourceLineNo">091</span> scheduler.unscheduleJob(triggerKey);<a name="line.91"></a> +<span class="sourceLineNo">092</span> trigger = scheduler.getTrigger(triggerKey);<a name="line.92"></a> +<span class="sourceLineNo">093</span> assertNull(trigger);<a name="line.93"></a> +<span class="sourceLineNo">094</span><a name="line.94"></a> +<span class="sourceLineNo">095</span> }<a name="line.95"></a> +<span class="sourceLineNo">096</span><a name="line.96"></a> +<span class="sourceLineNo">097</span> /**<a name="line.97"></a> +<span class="sourceLineNo">098</span> * Get all scheduled jobs for "TURBINE" to make sure that the registration<a name="line.98"></a> +<span class="sourceLineNo">099</span> * worked.<a name="line.99"></a> +<span class="sourceLineNo">100</span> * <a name="line.100"></a> +<span class="sourceLineNo">101</span> * @throws Exception generic exception<a name="line.101"></a> +<span class="sourceLineNo">102</span> */<a name="line.102"></a> +<span class="sourceLineNo">103</span> @Test<a name="line.103"></a> +<span class="sourceLineNo">104</span> public void testGetJobs() throws Exception <a name="line.104"></a> +<span class="sourceLineNo">105</span> {<a name="line.105"></a> +<span class="sourceLineNo">106</span> Scheduler scheduler = quartz.getScheduler();<a name="line.106"></a> +<span class="sourceLineNo">107</span> assertNotNull(scheduler);<a name="line.107"></a> +<span class="sourceLineNo">108</span> Set<JobKey> jobNames = scheduler.getJobKeys(GroupMatcher.jobGroupEquals("TURBINE"));<a name="line.108"></a> +<span class="sourceLineNo">109</span> assertEquals(2, jobNames.size(), "Expected two registered jobs");<a name="line.109"></a> +<span class="sourceLineNo">110</span> }<a name="line.110"></a> +<span class="sourceLineNo">111</span><a name="line.111"></a> +<span class="sourceLineNo">112</span> /**<a name="line.112"></a> +<span class="sourceLineNo">113</span> * Get the job details and job data map of an existing job to make sure that the<a name="line.113"></a> +<span class="sourceLineNo">114</span> * XStream configuration works.<a name="line.114"></a> +<span class="sourceLineNo">115</span> * <a name="line.115"></a> +<span class="sourceLineNo">116</span> * @throws Exception generic exception<a name="line.116"></a> +<span class="sourceLineNo">117</span> */<a name="line.117"></a> +<span class="sourceLineNo">118</span> @Test<a name="line.118"></a> +<span class="sourceLineNo">119</span> public void testJobDetailMap() throws Exception {<a name="line.119"></a> +<span class="sourceLineNo">120</span><a name="line.120"></a> +<span class="sourceLineNo">121</span> JobDetail jobDetail = quartz.getScheduler().getJobDetail(JobKey.jobKey("simpleJob", "TURBINE"));<a name="line.121"></a> +<span class="sourceLineNo">122</span> assertNotNull(jobDetail);<a name="line.122"></a> +<span class="sourceLineNo">123</span> assertEquals("simpleJob", jobDetail.getKey().getName());<a name="line.123"></a> +<span class="sourceLineNo">124</span> assertNotNull(jobDetail.getJobDataMap());<a name="line.124"></a> +<span class="sourceLineNo">125</span> assertEquals(2, jobDetail.getJobDataMap().size());<a name="line.125"></a> +<span class="sourceLineNo">126</span> }<a name="line.126"></a> +<span class="sourceLineNo">127</span><a name="line.127"></a> +<span class="sourceLineNo">128</span> /**<a name="line.128"></a> +<span class="sourceLineNo">129</span> * Make sure the "notSoSimpleJob" is triggered by the CronTrigger.<a name="line.129"></a> +<span class="sourceLineNo">130</span> * <a name="line.130"></a> +<span class="sourceLineNo">131</span> * @throws Exception generic exception<a name="line.131"></a> +<span class="sourceLineNo">132</span> */<a name="line.132"></a> +<span class="sourceLineNo">133</span> @Test<a name="line.133"></a> +<span class="sourceLineNo">134</span> public void testGetTriggersOfJob() throws Exception {<a name="line.134"></a> +<span class="sourceLineNo">135</span> List<? extends Trigger> triggers = quartz.getScheduler()<a name="line.135"></a> +<span class="sourceLineNo">136</span> .getTriggersOfJob(JobKey.jobKey("notSoSimpleJob", "TURBINE"));<a name="line.136"></a> +<span class="sourceLineNo">137</span> assertEquals(1, triggers.size());<a name="line.137"></a> +<span class="sourceLineNo">138</span> assertEquals("cronTrigger", ((Trigger) triggers.get(0)).getKey().getName());<a name="line.138"></a> +<span class="sourceLineNo">139</span> }<a name="line.139"></a> +<span class="sourceLineNo">140</span><a name="line.140"></a> +<span class="sourceLineNo">141</span> /**<a name="line.141"></a> +<span class="sourceLineNo">142</span> * Make sure that our two registered jobs are executed after one second.<a name="line.142"></a> +<span class="sourceLineNo">143</span> * <a name="line.143"></a> +<span class="sourceLineNo">144</span> * @throws Exception generic exception<a name="line.144"></a> +<span class="sourceLineNo">145</span> */<a name="line.145"></a> +<span class="sourceLineNo">146</span> @Test<a name="line.146"></a> +<span class="sourceLineNo">147</span> public void testJobExecution() throws Exception {<a name="line.147"></a> +<span class="sourceLineNo">148</span> Thread.sleep(2000);<a name="line.148"></a> +<span class="sourceLineNo">149</span> assertTrue(SimpleJob.wasExecuted, "SimpleJob was not executed");<a name="line.149"></a> +<span class="sourceLineNo">150</span> assertTrue(NotSoSimpleJob.wasExecuted, "NotSoSimpleJob was not executed");<a name="line.150"></a> +<span class="sourceLineNo">151</span> assertTrue(NotSoSimpleJob.wasServiced, "NotSoSimpleJob was not executed");<a name="line.151"></a> +<span class="sourceLineNo">152</span> SimpleJob.reset();<a name="line.152"></a> +<span class="sourceLineNo">153</span> NotSoSimpleJob.reset();<a name="line.153"></a> +<span class="sourceLineNo">154</span> Thread.sleep(2000);<a name="line.154"></a> +<span class="sourceLineNo">155</span> assertTrue(SimpleJob.wasExecuted, "SimpleJob was not executed");<a name="line.155"></a> +<span class="sourceLineNo">156</span> assertTrue(NotSoSimpleJob.wasExecuted, "NotSoSimpleJob was not executed");<a name="line.156"></a> +<span class="sourceLineNo">157</span> assertTrue(NotSoSimpleJob.wasServiced, "NotSoSimpleJob was not serviced");<a name="line.157"></a> +<span class="sourceLineNo">158</span> }<a name="line.158"></a> +<span class="sourceLineNo">159</span>}<a name="line.159"></a> @@ -197,6 +225,7 @@ -</PRE> -</BODY> -</HTML> +</pre> +</div> +</body> +</html> \ No newline at end of file Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/NotSoSimpleJob.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/NotSoSimpleJob.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/NotSoSimpleJob.html Tue May 21 03:44:00 2019 @@ -1,89 +1,94 @@ -<HTML> -<BODY BGCOLOR="white"> -<PRE> -<FONT color="green">001</FONT> /*<a name="line.1"></a> -<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> -<FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> -<FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> -<FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> -<FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> -<FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> -<FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> -<FONT color="green">009</FONT> *<a name="line.9"></a> -<FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> -<FONT color="green">011</FONT> *<a name="line.11"></a> -<FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> -<FONT color="green">013</FONT> * software distributed under the License is distributed on an<a name="line.13"></a> -<FONT color="green">014</FONT> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> -<FONT color="green">015</FONT> * KIND, either express or implied. See the License for the<a name="line.15"></a> -<FONT color="green">016</FONT> * specific language governing permissions and limitations<a name="line.16"></a> -<FONT color="green">017</FONT> * under the License.<a name="line.17"></a> -<FONT color="green">018</FONT> */<a name="line.18"></a> -<FONT color="green">019</FONT> <a name="line.19"></a> -<FONT color="green">020</FONT> package org.apache.fulcrum.quartz.test;<a name="line.20"></a> -<FONT color="green">021</FONT> <a name="line.21"></a> -<FONT color="green">022</FONT> import org.apache.avalon.framework.service.ServiceException;<a name="line.22"></a> -<FONT color="green">023</FONT> import org.apache.avalon.framework.service.ServiceManager;<a name="line.23"></a> -<FONT color="green">024</FONT> import org.apache.avalon.framework.service.Serviceable;<a name="line.24"></a> -<FONT color="green">025</FONT> import org.quartz.Job;<a name="line.25"></a> -<FONT color="green">026</FONT> import org.quartz.JobExecutionContext;<a name="line.26"></a> -<FONT color="green">027</FONT> import org.quartz.JobExecutionException;<a name="line.27"></a> -<FONT color="green">028</FONT> <a name="line.28"></a> -<FONT color="green">029</FONT> /**<a name="line.29"></a> -<FONT color="green">030</FONT> * @author <a href="mailto:[email protected]">Leandro Rodrigo Saad Cruz</a><a name="line.30"></a> -<FONT color="green">031</FONT> *<a name="line.31"></a> -<FONT color="green">032</FONT> */<a name="line.32"></a> -<FONT color="green">033</FONT> public class NotSoSimpleJob<a name="line.33"></a> -<FONT color="green">034</FONT> implements Job,Serviceable<a name="line.34"></a> -<FONT color="green">035</FONT> {<a name="line.35"></a> -<FONT color="green">036</FONT> public static boolean wasExecuted = false;<a name="line.36"></a> -<FONT color="green">037</FONT> <a name="line.37"></a> -<FONT color="green">038</FONT> public static boolean wasServiced = false;<a name="line.38"></a> -<FONT color="green">039</FONT> <a name="line.39"></a> -<FONT color="green">040</FONT> private ServiceManager manager;<a name="line.40"></a> -<FONT color="green">041</FONT> <a name="line.41"></a> -<FONT color="green">042</FONT> /**<a name="line.42"></a> -<FONT color="green">043</FONT> *<a name="line.43"></a> -<FONT color="green">044</FONT> */<a name="line.44"></a> -<FONT color="green">045</FONT> public NotSoSimpleJob()<a name="line.45"></a> -<FONT color="green">046</FONT> {<a name="line.46"></a> -<FONT color="green">047</FONT> super();<a name="line.47"></a> -<FONT color="green">048</FONT> }<a name="line.48"></a> -<FONT color="green">049</FONT> <a name="line.49"></a> -<FONT color="green">050</FONT> /**<a name="line.50"></a> -<FONT color="green">051</FONT> * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)<a name="line.51"></a> -<FONT color="green">052</FONT> */<a name="line.52"></a> -<FONT color="green">053</FONT> public void execute(JobExecutionContext context)<a name="line.53"></a> -<FONT color="green">054</FONT> throws JobExecutionException<a name="line.54"></a> -<FONT color="green">055</FONT> {<a name="line.55"></a> -<FONT color="green">056</FONT> try<a name="line.56"></a> -<FONT color="green">057</FONT> {<a name="line.57"></a> -<FONT color="green">058</FONT> Thread.sleep(100);<a name="line.58"></a> -<FONT color="green">059</FONT> }<a name="line.59"></a> -<FONT color="green">060</FONT> catch (InterruptedException e)<a name="line.60"></a> -<FONT color="green">061</FONT> {<a name="line.61"></a> -<FONT color="green">062</FONT> e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.<a name="line.62"></a> -<FONT color="green">063</FONT> }<a name="line.63"></a> -<FONT color="green">064</FONT> wasExecuted = true;<a name="line.64"></a> -<FONT color="green">065</FONT> }<a name="line.65"></a> -<FONT color="green">066</FONT> <a name="line.66"></a> -<FONT color="green">067</FONT> /**<a name="line.67"></a> -<FONT color="green">068</FONT> * This method is called by ComposableJobListenerWrapper.jobToBeExecuted<a name="line.68"></a> -<FONT color="green">069</FONT> *<a name="line.69"></a> -<FONT color="green">070</FONT> * @see org.apache.avalon.framework.component.Composable#compose(org.apache.avalon.framework.component.ComponentManager)<a name="line.70"></a> -<FONT color="green">071</FONT> */<a name="line.71"></a> -<FONT color="green">072</FONT> public void service(ServiceManager manager)<a name="line.72"></a> -<FONT color="green">073</FONT> throws ServiceException<a name="line.73"></a> -<FONT color="green">074</FONT> {<a name="line.74"></a> -<FONT color="green">075</FONT> this.manager = manager;<a name="line.75"></a> -<FONT color="green">076</FONT> wasServiced = true;<a name="line.76"></a> -<FONT color="green">077</FONT> }<a name="line.77"></a> -<FONT color="green">078</FONT> <a name="line.78"></a> -<FONT color="green">079</FONT> public static void reset()<a name="line.79"></a> -<FONT color="green">080</FONT> {<a name="line.80"></a> -<FONT color="green">081</FONT> wasExecuted = false;<a name="line.81"></a> -<FONT color="green">082</FONT> } <a name="line.82"></a> -<FONT color="green">083</FONT> }<a name="line.83"></a> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a> +<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> +<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> +<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a> +<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> +<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> +<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a> +<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a> +<span class="sourceLineNo">009</span> *<a name="line.9"></a> +<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> +<span class="sourceLineNo">011</span> *<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> +<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a> +<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> +<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a> +<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a> +<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a> +<span class="sourceLineNo">018</span> */<a name="line.18"></a> +<span class="sourceLineNo">019</span><a name="line.19"></a> +<span class="sourceLineNo">020</span>package org.apache.fulcrum.quartz.test;<a name="line.20"></a> +<span class="sourceLineNo">021</span><a name="line.21"></a> +<span class="sourceLineNo">022</span>import org.apache.avalon.framework.service.ServiceException;<a name="line.22"></a> +<span class="sourceLineNo">023</span>import org.apache.avalon.framework.service.ServiceManager;<a name="line.23"></a> +<span class="sourceLineNo">024</span>import org.apache.avalon.framework.service.Serviceable;<a name="line.24"></a> +<span class="sourceLineNo">025</span>import org.quartz.Job;<a name="line.25"></a> +<span class="sourceLineNo">026</span>import org.quartz.JobExecutionContext;<a name="line.26"></a> +<span class="sourceLineNo">027</span>import org.quartz.JobExecutionException;<a name="line.27"></a> +<span class="sourceLineNo">028</span><a name="line.28"></a> +<span class="sourceLineNo">029</span>/**<a name="line.29"></a> +<span class="sourceLineNo">030</span> * @author <a href="mailto:[email protected]">Leandro Rodrigo Saad Cruz</a><a name="line.30"></a> +<span class="sourceLineNo">031</span> *<a name="line.31"></a> +<span class="sourceLineNo">032</span> */<a name="line.32"></a> +<span class="sourceLineNo">033</span>public class NotSoSimpleJob<a name="line.33"></a> +<span class="sourceLineNo">034</span> implements Job,Serviceable<a name="line.34"></a> +<span class="sourceLineNo">035</span>{<a name="line.35"></a> +<span class="sourceLineNo">036</span> public static boolean wasExecuted = false;<a name="line.36"></a> +<span class="sourceLineNo">037</span><a name="line.37"></a> +<span class="sourceLineNo">038</span> public static boolean wasServiced = false;<a name="line.38"></a> +<span class="sourceLineNo">039</span><a name="line.39"></a> +<span class="sourceLineNo">040</span> private ServiceManager manager;<a name="line.40"></a> +<span class="sourceLineNo">041</span><a name="line.41"></a> +<span class="sourceLineNo">042</span> /**<a name="line.42"></a> +<span class="sourceLineNo">043</span> *<a name="line.43"></a> +<span class="sourceLineNo">044</span> */<a name="line.44"></a> +<span class="sourceLineNo">045</span> public NotSoSimpleJob()<a name="line.45"></a> +<span class="sourceLineNo">046</span> {<a name="line.46"></a> +<span class="sourceLineNo">047</span> super();<a name="line.47"></a> +<span class="sourceLineNo">048</span> }<a name="line.48"></a> +<span class="sourceLineNo">049</span><a name="line.49"></a> +<span class="sourceLineNo">050</span> /**<a name="line.50"></a> +<span class="sourceLineNo">051</span> * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)<a name="line.51"></a> +<span class="sourceLineNo">052</span> */<a name="line.52"></a> +<span class="sourceLineNo">053</span> public void execute(JobExecutionContext context)<a name="line.53"></a> +<span class="sourceLineNo">054</span> throws JobExecutionException<a name="line.54"></a> +<span class="sourceLineNo">055</span> {<a name="line.55"></a> +<span class="sourceLineNo">056</span> try<a name="line.56"></a> +<span class="sourceLineNo">057</span> {<a name="line.57"></a> +<span class="sourceLineNo">058</span> Thread.sleep(100);<a name="line.58"></a> +<span class="sourceLineNo">059</span> }<a name="line.59"></a> +<span class="sourceLineNo">060</span> catch (InterruptedException e)<a name="line.60"></a> +<span class="sourceLineNo">061</span> {<a name="line.61"></a> +<span class="sourceLineNo">062</span> e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.<a name="line.62"></a> +<span class="sourceLineNo">063</span> }<a name="line.63"></a> +<span class="sourceLineNo">064</span> wasExecuted = true;<a name="line.64"></a> +<span class="sourceLineNo">065</span> }<a name="line.65"></a> +<span class="sourceLineNo">066</span><a name="line.66"></a> +<span class="sourceLineNo">067</span> /**<a name="line.67"></a> +<span class="sourceLineNo">068</span> * This method is called by ComposableJobListenerWrapper.jobToBeExecuted<a name="line.68"></a> +<span class="sourceLineNo">069</span> *<a name="line.69"></a> +<span class="sourceLineNo">070</span> * @see org.apache.avalon.framework.component.Composable#compose(org.apache.avalon.framework.component.ComponentManager)<a name="line.70"></a> +<span class="sourceLineNo">071</span> */<a name="line.71"></a> +<span class="sourceLineNo">072</span> public void service(ServiceManager manager)<a name="line.72"></a> +<span class="sourceLineNo">073</span> throws ServiceException<a name="line.73"></a> +<span class="sourceLineNo">074</span> {<a name="line.74"></a> +<span class="sourceLineNo">075</span> this.manager = manager;<a name="line.75"></a> +<span class="sourceLineNo">076</span> wasServiced = true;<a name="line.76"></a> +<span class="sourceLineNo">077</span> }<a name="line.77"></a> +<span class="sourceLineNo">078</span><a name="line.78"></a> +<span class="sourceLineNo">079</span> public static void reset()<a name="line.79"></a> +<span class="sourceLineNo">080</span> {<a name="line.80"></a> +<span class="sourceLineNo">081</span> wasExecuted = false;<a name="line.81"></a> +<span class="sourceLineNo">082</span> } <a name="line.82"></a> +<span class="sourceLineNo">083</span>}<a name="line.83"></a> @@ -144,6 +149,7 @@ -</PRE> -</BODY> -</HTML> +</pre> +</div> +</body> +</html> \ No newline at end of file Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/SimpleJob.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/SimpleJob.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/src-html/org/apache/fulcrum/quartz/test/SimpleJob.html Tue May 21 03:44:00 2019 @@ -1,54 +1,59 @@ -<HTML> -<BODY BGCOLOR="white"> -<PRE> -<FONT color="green">001</FONT> /*<a name="line.1"></a> -<FONT color="green">002</FONT> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> -<FONT color="green">003</FONT> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> -<FONT color="green">004</FONT> * distributed with this work for additional information<a name="line.4"></a> -<FONT color="green">005</FONT> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> -<FONT color="green">006</FONT> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> -<FONT color="green">007</FONT> * "License"); you may not use this file except in compliance<a name="line.7"></a> -<FONT color="green">008</FONT> * with the License. You may obtain a copy of the License at<a name="line.8"></a> -<FONT color="green">009</FONT> *<a name="line.9"></a> -<FONT color="green">010</FONT> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> -<FONT color="green">011</FONT> *<a name="line.11"></a> -<FONT color="green">012</FONT> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> -<FONT color="green">013</FONT> * software distributed under the License is distributed on an<a name="line.13"></a> -<FONT color="green">014</FONT> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> -<FONT color="green">015</FONT> * KIND, either express or implied. See the License for the<a name="line.15"></a> -<FONT color="green">016</FONT> * specific language governing permissions and limitations<a name="line.16"></a> -<FONT color="green">017</FONT> * under the License.<a name="line.17"></a> -<FONT color="green">018</FONT> */<a name="line.18"></a> -<FONT color="green">019</FONT> <a name="line.19"></a> -<FONT color="green">020</FONT> package org.apache.fulcrum.quartz.test;<a name="line.20"></a> -<FONT color="green">021</FONT> <a name="line.21"></a> -<FONT color="green">022</FONT> import org.quartz.Job;<a name="line.22"></a> -<FONT color="green">023</FONT> import org.quartz.JobExecutionContext;<a name="line.23"></a> -<FONT color="green">024</FONT> import org.quartz.JobExecutionException;<a name="line.24"></a> -<FONT color="green">025</FONT> <a name="line.25"></a> -<FONT color="green">026</FONT> /**<a name="line.26"></a> -<FONT color="green">027</FONT> * A stateless job triggered by Quartz scheduler which keeps track<a name="line.27"></a> -<FONT color="green">028</FONT> * if it was wasExecuted<a name="line.28"></a> -<FONT color="green">029</FONT> */<a name="line.29"></a> -<FONT color="green">030</FONT> public class SimpleJob<a name="line.30"></a> -<FONT color="green">031</FONT> implements Job<a name="line.31"></a> -<FONT color="green">032</FONT> {<a name="line.32"></a> -<FONT color="green">033</FONT> public static boolean wasExecuted = false;<a name="line.33"></a> -<FONT color="green">034</FONT> <a name="line.34"></a> -<FONT color="green">035</FONT> /**<a name="line.35"></a> -<FONT color="green">036</FONT> * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)<a name="line.36"></a> -<FONT color="green">037</FONT> */<a name="line.37"></a> -<FONT color="green">038</FONT> public void execute(JobExecutionContext context)<a name="line.38"></a> -<FONT color="green">039</FONT> throws JobExecutionException<a name="line.39"></a> -<FONT color="green">040</FONT> {<a name="line.40"></a> -<FONT color="green">041</FONT> wasExecuted = true;<a name="line.41"></a> -<FONT color="green">042</FONT> }<a name="line.42"></a> -<FONT color="green">043</FONT> <a name="line.43"></a> -<FONT color="green">044</FONT> public static void reset()<a name="line.44"></a> -<FONT color="green">045</FONT> {<a name="line.45"></a> -<FONT color="green">046</FONT> wasExecuted = false;<a name="line.46"></a> -<FONT color="green">047</FONT> }<a name="line.47"></a> -<FONT color="green">048</FONT> }<a name="line.48"></a> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a> +<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> +<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> +<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a> +<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> +<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> +<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a> +<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a> +<span class="sourceLineNo">009</span> *<a name="line.9"></a> +<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> +<span class="sourceLineNo">011</span> *<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing,<a name="line.12"></a> +<span class="sourceLineNo">013</span> * software distributed under the License is distributed on an<a name="line.13"></a> +<span class="sourceLineNo">014</span> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY<a name="line.14"></a> +<span class="sourceLineNo">015</span> * KIND, either express or implied. See the License for the<a name="line.15"></a> +<span class="sourceLineNo">016</span> * specific language governing permissions and limitations<a name="line.16"></a> +<span class="sourceLineNo">017</span> * under the License.<a name="line.17"></a> +<span class="sourceLineNo">018</span> */<a name="line.18"></a> +<span class="sourceLineNo">019</span><a name="line.19"></a> +<span class="sourceLineNo">020</span>package org.apache.fulcrum.quartz.test;<a name="line.20"></a> +<span class="sourceLineNo">021</span><a name="line.21"></a> +<span class="sourceLineNo">022</span>import org.quartz.Job;<a name="line.22"></a> +<span class="sourceLineNo">023</span>import org.quartz.JobExecutionContext;<a name="line.23"></a> +<span class="sourceLineNo">024</span>import org.quartz.JobExecutionException;<a name="line.24"></a> +<span class="sourceLineNo">025</span><a name="line.25"></a> +<span class="sourceLineNo">026</span>/**<a name="line.26"></a> +<span class="sourceLineNo">027</span> * A stateless job triggered by Quartz scheduler which keeps track<a name="line.27"></a> +<span class="sourceLineNo">028</span> * if it was wasExecuted<a name="line.28"></a> +<span class="sourceLineNo">029</span> */<a name="line.29"></a> +<span class="sourceLineNo">030</span>public class SimpleJob<a name="line.30"></a> +<span class="sourceLineNo">031</span> implements Job<a name="line.31"></a> +<span class="sourceLineNo">032</span>{<a name="line.32"></a> +<span class="sourceLineNo">033</span> public static boolean wasExecuted = false;<a name="line.33"></a> +<span class="sourceLineNo">034</span><a name="line.34"></a> +<span class="sourceLineNo">035</span> /**<a name="line.35"></a> +<span class="sourceLineNo">036</span> * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)<a name="line.36"></a> +<span class="sourceLineNo">037</span> */<a name="line.37"></a> +<span class="sourceLineNo">038</span> public void execute(JobExecutionContext context)<a name="line.38"></a> +<span class="sourceLineNo">039</span> throws JobExecutionException<a name="line.39"></a> +<span class="sourceLineNo">040</span> {<a name="line.40"></a> +<span class="sourceLineNo">041</span> wasExecuted = true;<a name="line.41"></a> +<span class="sourceLineNo">042</span> }<a name="line.42"></a> +<span class="sourceLineNo">043</span><a name="line.43"></a> +<span class="sourceLineNo">044</span> public static void reset()<a name="line.44"></a> +<span class="sourceLineNo">045</span> {<a name="line.45"></a> +<span class="sourceLineNo">046</span> wasExecuted = false;<a name="line.46"></a> +<span class="sourceLineNo">047</span> }<a name="line.47"></a> +<span class="sourceLineNo">048</span>}<a name="line.48"></a> @@ -109,6 +114,7 @@ -</PRE> -</BODY> -</HTML> +</pre> +</div> +</body> +</html> \ No newline at end of file Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/stylesheet.css ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/stylesheet.css (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/testapidocs/stylesheet.css Tue May 21 03:44:00 2019 @@ -1,29 +1,574 @@ /* Javadoc style sheet */ +/* +Overall document style +*/ -/* Define colors, fonts and other style attributes here to override the defaults */ +@import url('resources/fonts/dejavu.css'); -/* Page background color */ -body { background-color: #FFFFFF; color:#000000 } +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; -/* Headings */ -h1 { font-size: 145% } +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} -/* Table colors */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} \ No newline at end of file Modified: websites/production/turbine/content/fulcrum/fulcrum-quartz/xref-test/allclasses-frame.html ============================================================================== --- websites/production/turbine/content/fulcrum/fulcrum-quartz/xref-test/allclasses-frame.html (original) +++ websites/production/turbine/content/fulcrum/fulcrum-quartz/xref-test/allclasses-frame.html Tue May 21 03:44:00 2019 @@ -1,29 +1,21 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> -<html xml:lang="en" lang="en"> - <head> - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> - <title>All Classes</title> - <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> - </head> - <body> - - <h3>All Classes</h3> - - <ul> - <li> - <a href="org/apache/fulcrum/quartz/BaseQuartzTestCase.html" target="classFrame">BaseQuartzTestCase</a> - </li> - <li> - <a href="org/apache/fulcrum/quartz/DefaultQuartzSchedulerImplTest.html" target="classFrame">DefaultQuartzSchedulerImplTest</a> - </li> - <li> - <a href="org/apache/fulcrum/quartz/test/NotSoSimpleJob.html" target="classFrame">NotSoSimpleJob</a> - </li> - <li> - <a href="org/apache/fulcrum/quartz/test/SimpleJob.html" target="classFrame">SimpleJob</a> - </li> - </ul> - - </body> - </html> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>All Classes</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + <h1 class="bar">All Classes</h1> + <div class="indexContainer"> + <ul> + <li><a href="org/apache/fulcrum/quartz/BaseQuartzTestCase.html#BaseQuartzTestCase" target="classFrame">BaseQuartzTestCase</a></li> + <li><a href="org/apache/fulcrum/quartz/DefaultQuartzSchedulerImplTest.html#DefaultQuartzSchedulerImplTest" target="classFrame">DefaultQuartzSchedulerImplTest</a></li> + <li><a href="org/apache/fulcrum/quartz/test/NotSoSimpleJob.html#NotSoSimpleJob" target="classFrame">NotSoSimpleJob</a></li> + <li><a href="org/apache/fulcrum/quartz/test/SimpleJob.html#SimpleJob" target="classFrame">SimpleJob</a></li> + </ul> + </div> + </body> +</html> \ No newline at end of file
