| 1 |
|
package org.kuali.student.lum.common.client.configuration; |
| 2 |
|
|
| 3 |
|
import org.kuali.student.common.ui.client.configurable.mvc.Configurer; |
| 4 |
|
|
| 5 |
|
import java.util.ArrayList; |
| 6 |
|
import java.util.HashMap; |
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
@author |
| 14 |
|
@see |
| 15 |
|
@see |
| 16 |
|
|
|
|
|
| 0% |
Uncovered Elements: 9 (9) |
Complexity: 4 |
Complexity Density: 0.8 |
|
| 17 |
|
public class ConfigurationManager { |
| 18 |
|
|
| 19 |
|
private ArrayList<Configuration> configurations = new ArrayList<Configuration>(); |
| 20 |
|
|
| 21 |
|
private Configurer configurer; |
| 22 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 23 |
0
|
public ConfigurationManager(Configurer configurer) {... |
| 24 |
0
|
this.configurer = configurer; |
| 25 |
|
} |
| 26 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 27 |
0
|
public void registerConfiguration(Configuration configuration) {... |
| 28 |
0
|
configurations.add(configuration); |
| 29 |
0
|
setConfigurerOn(configuration); |
| 30 |
|
} |
| 31 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 32 |
0
|
public ArrayList<Configuration> getConfigurations() {... |
| 33 |
0
|
return configurations; |
| 34 |
|
} |
| 35 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 36 |
0
|
private void setConfigurerOn(Configuration configuration) {... |
| 37 |
0
|
configuration.setConfigurer(configurer); |
| 38 |
|
} |
| 39 |
|
} |