1. Project Clover database Tue Dec 20 2016 21:24:09 CET
  2. Package org.xwiki.job.internal

File AbstractJob.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
83% of files have more coverage

Code metrics

0
3
3
1
73
25
3
1
1
3
1

Classes

Class Line # Actions
AbstractJob 37 3 0% 3 6
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.job.internal;
21   
22    import org.xwiki.component.annotation.InstantiationStrategy;
23    import org.xwiki.component.descriptor.ComponentInstantiationStrategy;
24    import org.xwiki.job.Request;
25   
26    /**
27    * Base class for {@link org.xwiki.job.Job} implementations.
28    *
29    * @param <R> the request type associated to the job
30    * @param <S> the status type associated to the job
31    * @version $Id: 30bd8db0232a175d78729d1686d956552dff877a $
32    * @since 5.0M1
33    * @deprecated since 7.4M1, use {@link org.xwiki.job.AbstractJob} instead
34    */
35    @Deprecated
36    @InstantiationStrategy(ComponentInstantiationStrategy.PER_LOOKUP)
 
37    public abstract class AbstractJob<R extends Request, S extends org.xwiki.job.AbstractJobStatus<? super R>>
38    extends org.xwiki.job.AbstractJob<R, S>
39    {
40    /**
41    * Push new progression level.
42    *
43    * @param steps number of steps in this new level
44    * @deprecated since 7.1M2, use directly {@link #progressManager} instead
45    */
 
46  0 toggle @Deprecated
47    protected void notifyPushLevelProgress(int steps)
48    {
49  0 this.progressManager.pushLevelProgress(steps, this);
50    }
51   
52    /**
53    * Next step.
54    *
55    * @deprecated since 7.1M2, use directly {@link #progressManager} instead
56    */
 
57  0 toggle @Deprecated
58    protected void notifyStepPropress()
59    {
60  0 this.progressManager.stepPropress(this);
61    }
62   
63    /**
64    * Pop progression level.
65    *
66    * @deprecated since 7.1M2, use directly {@link #progressManager} instead
67    */
 
68  0 toggle @Deprecated
69    protected void notifyPopLevelProgress()
70    {
71  0 this.progressManager.popLevelProgress(this);
72    }
73    }