Clover Coverage Report - Kuali Spring Utilities 1.1.0-SNAPSHOT
Coverage timestamp: Thu Apr 21 2011 09:03:37 EST
../../../../img/srcFileCovDistChart7.png 30% of files have more coverage
19   76   14   1.36
0   60   0.74   14
14     1  
1    
 
  PropertiesMergeContext       Line # 5 19 0% 14 12 63.6% 0.6363636
 
No Tests
 
1    package org.kuali.spring.util;
2   
3    import java.util.Properties;
4   
 
5    public class PropertiesMergeContext {
6    public static final boolean DEFAULT_IS_SORT = true;
7    public static final boolean DEFAULT_IS_OVERRIDE = true;
8    boolean override = DEFAULT_IS_OVERRIDE;
9    boolean sort = DEFAULT_IS_SORT;
10    Properties currentProperties;
11    Properties newProperties;
12    PropertySource source;
13   
 
14  0 toggle public PropertiesMergeContext() {
15  0 this(null, null, DEFAULT_IS_OVERRIDE, null, DEFAULT_IS_SORT);
16    }
17   
 
18  1 toggle public PropertiesMergeContext(Properties currentProperties, Properties newProperties, PropertySource source) {
19  1 this(currentProperties, newProperties, DEFAULT_IS_OVERRIDE, source, DEFAULT_IS_SORT);
20    }
21   
 
22  4 toggle public PropertiesMergeContext(Properties currentProperties, Properties newProperties, boolean override,
23    PropertySource source) {
24  4 this(currentProperties, newProperties, override, source, DEFAULT_IS_SORT);
25    }
26   
 
27  5 toggle public PropertiesMergeContext(Properties currentProperties, Properties newProperties, boolean override,
28    PropertySource source, boolean sort) {
29  5 super();
30  5 this.currentProperties = currentProperties;
31  5 this.newProperties = newProperties;
32  5 this.override = override;
33  5 this.source = source;
34  5 this.sort = sort;
35    }
36   
 
37  136 toggle public Properties getCurrentProperties() {
38  136 return currentProperties;
39    }
40   
 
41  0 toggle public void setCurrentProperties(Properties currentProperties) {
42  0 this.currentProperties = currentProperties;
43    }
44   
 
45  141 toggle public Properties getNewProperties() {
46  141 return newProperties;
47    }
48   
 
49  0 toggle public void setNewProperties(Properties newProperties) {
50  0 this.newProperties = newProperties;
51    }
52   
 
53  136 toggle public boolean isOverride() {
54  136 return override;
55    }
56   
 
57  0 toggle public void setOverride(boolean override) {
58  0 this.override = override;
59    }
60   
 
61  5 toggle public boolean isSort() {
62  5 return sort;
63    }
64   
 
65  0 toggle public void setSort(boolean sort) {
66  0 this.sort = sort;
67    }
68   
 
69  136 toggle public PropertySource getSource() {
70  136 return source;
71    }
72   
 
73  0 toggle public void setSource(PropertySource source) {
74  0 this.source = source;
75    }
76    }