View Javadoc

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  public class ConfigurationManager {
15  
16      private ArrayList<Configuration> configurations = new ArrayList<Configuration>();
17  
18      public void registerConfiguration(Configuration configuration) {
19          configurations.add(configuration);
20      }
21  
22      public ArrayList<Configuration> getConfigurations() {
23          return configurations;
24      }
25  }