Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ConfigurationManager |
|
| 1.0;1 |
1 | package org.kuali.student.lum.common.client.configuration; | |
2 | ||
3 | import java.util.ArrayList; | |
4 | ||
5 | /** | |
6 | * This class manages configurations. We should create a repository of all ConfigurationManagers and let universities | |
7 | * register new configuration, remove already defined configuration or change the order in which they appear on the | |
8 | * ui. | |
9 | * | |
10 | * @author Igor | |
11 | * @see Configuration | |
12 | * @see AbstractConfiguration | |
13 | */ | |
14 | 0 | public class ConfigurationManager { |
15 | ||
16 | 0 | private ArrayList<Configuration> configurations = new ArrayList<Configuration>(); |
17 | ||
18 | public void registerConfiguration(Configuration configuration) { | |
19 | 0 | configurations.add(configuration); |
20 | 0 | } |
21 | ||
22 | public ArrayList<Configuration> getConfigurations() { | |
23 | 0 | return configurations; |
24 | } | |
25 | } |