1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.extension.distribution.internal.job; |
21 |
|
|
22 |
|
import org.xwiki.job.AbstractRequest; |
23 |
|
import org.xwiki.model.reference.DocumentReference; |
24 |
|
|
25 |
|
|
26 |
|
@version |
27 |
|
@since |
28 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (10) |
Complexity: 5 |
Complexity Density: 1 |
|
29 |
|
public class DistributionRequest extends AbstractRequest implements Cloneable |
30 |
|
{ |
31 |
|
private static final long serialVersionUID = 1L; |
32 |
|
|
33 |
|
|
34 |
|
@see |
35 |
|
|
36 |
|
public static final String PROPERTY_WIKI = "wiki"; |
37 |
|
|
38 |
|
public static final String PROPERTY_USERREFERENCE = "user.reference"; |
39 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
5 |
public void setWiki(String wiki)... |
41 |
|
{ |
42 |
5 |
setProperty(PROPERTY_WIKI, wiki); |
43 |
|
} |
44 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
23 |
public String getWiki()... |
46 |
|
{ |
47 |
23 |
return getProperty(PROPERTY_WIKI); |
48 |
|
} |
49 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
3 |
public void setUserReference(DocumentReference userReference)... |
51 |
|
{ |
52 |
3 |
setProperty(PROPERTY_USERREFERENCE, userReference); |
53 |
|
} |
54 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
1 |
public DocumentReference getUserReference()... |
56 |
|
{ |
57 |
1 |
return getProperty(PROPERTY_USERREFERENCE); |
58 |
|
} |
59 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
2 |
@Override... |
61 |
|
public Object clone() throws CloneNotSupportedException |
62 |
|
{ |
63 |
2 |
return super.clone(); |
64 |
|
} |
65 |
|
} |