1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.filter.instance.input; |
21 |
|
|
22 |
|
import org.xwiki.properties.annotation.PropertyDescription; |
23 |
|
import org.xwiki.properties.annotation.PropertyName; |
24 |
|
|
25 |
|
|
26 |
|
@version |
27 |
|
@since |
28 |
|
|
|
|
| 91.7% |
Uncovered Elements: 2 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
29 |
|
public class DocumentInstanceInputProperties extends InstanceInputProperties |
30 |
|
{ |
31 |
|
|
32 |
|
@see |
33 |
|
|
34 |
|
private boolean withRevisions = true; |
35 |
|
|
36 |
|
|
37 |
|
@see |
38 |
|
|
39 |
|
private boolean withJRCSRevisions = true; |
40 |
|
|
41 |
|
|
42 |
|
@see |
43 |
|
|
44 |
|
private boolean withWikiAttachments = true; |
45 |
|
|
46 |
|
|
47 |
|
@see |
48 |
|
|
49 |
|
private boolean withWikiObjects = true; |
50 |
|
|
51 |
|
|
52 |
|
@see |
53 |
|
|
54 |
|
private boolean withWikiClass = true; |
55 |
|
|
56 |
|
|
57 |
|
@see |
58 |
|
|
59 |
|
private boolean withWikiDocumentContentHTML; |
60 |
|
|
61 |
|
|
62 |
|
@return |
63 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
6416 |
@PropertyName("With revisions")... |
65 |
|
@PropertyDescription("Indicates if events should be generated for history") |
66 |
|
public boolean isWithRevisions() |
67 |
|
{ |
68 |
6416 |
return this.withRevisions; |
69 |
|
} |
70 |
|
|
71 |
|
|
72 |
|
@param |
73 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
74 |
6334 |
public void setWithRevisions(boolean withRevisions)... |
75 |
|
{ |
76 |
6334 |
this.withRevisions = withRevisions; |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
@return |
81 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
6437 |
@PropertyName("With JRCS revisions")... |
83 |
|
@PropertyDescription("Indicates if JRCS based history should be added to document locale event properties") |
84 |
|
public boolean isWithJRCSRevisions() |
85 |
|
{ |
86 |
6437 |
return withJRCSRevisions; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
@param |
91 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
6334 |
public void setWithJRCSRevisions(boolean withJRCSRevisions)... |
93 |
|
{ |
94 |
6334 |
this.withJRCSRevisions = withJRCSRevisions; |
95 |
|
} |
96 |
|
|
97 |
|
|
98 |
|
@return |
99 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
6415 |
@PropertyName("With attachments")... |
101 |
|
@PropertyDescription("Indicate if events should be generated for attachments") |
102 |
|
public boolean isWithWikiAttachments() |
103 |
|
{ |
104 |
6415 |
return this.withWikiAttachments; |
105 |
|
} |
106 |
|
|
107 |
|
|
108 |
|
@param |
109 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
6332 |
public void setWithWikiAttachments(boolean withWikiAttachments)... |
111 |
|
{ |
112 |
6332 |
this.withWikiAttachments = withWikiAttachments; |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
@return |
117 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
118 |
6415 |
@PropertyName("With classes")... |
119 |
|
@PropertyDescription("Indicate if events should be generated for classes") |
120 |
|
public boolean isWithWikiClass() |
121 |
|
{ |
122 |
6415 |
return this.withWikiClass; |
123 |
|
} |
124 |
|
|
125 |
|
|
126 |
|
@param |
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0 |
public void setWithWikiClass(boolean withWikiClass)... |
129 |
|
{ |
130 |
0 |
this.withWikiClass = withWikiClass; |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
@return |
135 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
136 |
6415 |
@PropertyName("With objects")... |
137 |
|
@PropertyDescription("Indicate if events should be generated for objects") |
138 |
|
public boolean isWithWikiObjects() |
139 |
|
{ |
140 |
6415 |
return this.withWikiObjects; |
141 |
|
} |
142 |
|
|
143 |
|
|
144 |
|
@param |
145 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
6332 |
public void setWithWikiObjects(boolean withWikiObjects)... |
147 |
|
{ |
148 |
6332 |
this.withWikiObjects = withWikiObjects; |
149 |
|
} |
150 |
|
|
151 |
|
|
152 |
|
@return |
153 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
154 |
6415 |
@PropertyName("With content as HTML")... |
155 |
|
@PropertyDescription("Indicate if events should be generated for document content as HTML") |
156 |
|
public boolean isWithWikiDocumentContentHTML() |
157 |
|
{ |
158 |
6415 |
return this.withWikiDocumentContentHTML; |
159 |
|
} |
160 |
|
|
161 |
|
|
162 |
|
@param |
163 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
164 |
6332 |
public void setWithWikiDocumentContentHTML(boolean withWikiDocumentContentHTML)... |
165 |
|
{ |
166 |
6332 |
this.withWikiDocumentContentHTML = withWikiDocumentContentHTML; |
167 |
|
} |
168 |
|
} |