Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 17 package org.alfresco.config; 18 19 import java.util.ArrayList ; 20 import java.util.List ; 21 22 27 public class ConfigLookupContext 28 { 29 private boolean includeGlobalSection = true; 30 private List <String > areas = new ArrayList <String >(); 31 private ConfigLookupAlgorithm algorithm; 32 33 36 public ConfigLookupContext() 37 { 38 this.algorithm = new DefaultLookupAlgorithm(); 39 } 40 41 46 public ConfigLookupContext(String area) 47 { 48 this(); 49 this.addArea(area); 50 } 51 52 57 public ConfigLookupContext(List <String > areas) 58 { 59 this(); 60 this.setAreas(areas); 61 } 62 63 67 public ConfigLookupAlgorithm getAlgorithm() 68 { 69 return this.algorithm; 70 } 71 72 75 public void setAlgorithm(ConfigLookupAlgorithm algorithm) 76 { 77 this.algorithm = algorithm; 78 } 79 80 83 public List <String > getAreas() 84 { 85 return this.areas; 86 } 87 88 91 public void setAreas(List <String > areas) 92 { 93 this.areas = areas; 94 } 95 96 99 public void addArea(String area) 100 { 101 this.areas.add(area); 102 } 103 104 108 public boolean includeGlobalSection() 109 { 110 return this.includeGlobalSection; 111 } 112 113 117 public void setIncludeGlobalSection(boolean includeGlobalSection) 118 { 119 this.includeGlobalSection = includeGlobalSection; 120 } 121 } 122
| Popular Tags
|