1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
package info.magnolia.rest.service.command.definition; |
35 |
|
|
36 |
|
import info.magnolia.cms.security.operations.AccessDefinition; |
37 |
|
|
38 |
|
import java.util.Collection; |
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
@see |
44 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
45 |
|
public class ConfiguredCommandDefinition implements CommandDefinition { |
46 |
|
|
47 |
|
private String commandName; |
48 |
|
private String catalogName; |
49 |
|
private AccessDefinition access; |
50 |
|
private Collection<String> responseContextParameters; |
51 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
52 |
|
@Override... |
53 |
|
public String getCommandName() { |
54 |
|
return commandName; |
55 |
|
} |
56 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
57 |
|
public void setCommandName(String commandName) {... |
58 |
|
this.commandName = commandName; |
59 |
|
} |
60 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
61 |
|
@Override... |
62 |
|
public String getCatalogName() { |
63 |
|
return catalogName; |
64 |
|
} |
65 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
66 |
|
public void setCatalogName(String catalogName) {... |
67 |
|
this.catalogName = catalogName; |
68 |
|
} |
69 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
70 |
|
@Override... |
71 |
|
public AccessDefinition getAccess() { |
72 |
|
return access; |
73 |
|
} |
74 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
75 |
|
public void setAccess(AccessDefinition access) {... |
76 |
|
this.access = access; |
77 |
|
} |
78 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
79 |
|
@Override... |
80 |
|
public Collection<String> getResponseContextParameters() { |
81 |
|
return responseContextParameters; |
82 |
|
} |
83 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
84 |
|
public void setContextParameters(Collection<String> responseContextParameters) {... |
85 |
|
this.responseContextParameters = responseContextParameters; |
86 |
|
} |
87 |
|
} |