Package: Configuration

Configuration

nameinstructionbranchcomplexitylinemethod
Configuration()
M: 0 C: 13
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%
addProperty(Property)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
addPropertySet(PropertySet)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
getBundleSymbolicName()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getBundleVersion()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getInputPath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getManifestTemplate()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getManifestTemplatePath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getOsgiProfile()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getOsgiProfilePath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getOutputPath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getProperties()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPropertiesPath()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getPropertySets()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
setBundleSymbolicName(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setBundleVersion(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setInputPath(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setManifestTemplate(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setManifestTemplatePath(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setOsgiProfile(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setOsgiProfilePath(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setOutputPath(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
setPropertiesPath(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2008, 2010 VMware Inc.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * VMware Inc. - initial contribution
10: *******************************************************************************/
11:
12: package org.eclipse.virgo.bundlor.ant.internal;
13:
14: import java.util.ArrayList;
15: import java.util.List;
16:
17: import org.apache.tools.ant.taskdefs.Property;
18: import org.apache.tools.ant.types.PropertySet;
19:
20: public final class Configuration {
21:
22: private volatile String inputPath;
23:
24: private volatile String outputPath;
25:
26: private volatile String manifestTemplatePath;
27:
28: private volatile String manifestTemplate;
29:
30: private volatile String osgiProfilePath;
31:
32: private volatile String osgiProfile;
33:
34: private volatile String bundleSymbolicName;
35:
36: private volatile String bundleVersion;
37:
38: private volatile String propertiesPath;
39:
40: private final List<PropertySet> propertySets = new ArrayList<PropertySet>();
41:
42: private final List<Property> properties = new ArrayList<Property>();
43:
44: public void setInputPath(String inputPath) {
45: this.inputPath = inputPath;
46: }
47:
48: public void setOutputPath(String outputPath) {
49: this.outputPath = outputPath;
50: }
51:
52: public void setManifestTemplatePath(String manifestTemplatePath) {
53: this.manifestTemplatePath = manifestTemplatePath;
54: }
55:
56: public void setManifestTemplate(String manifestTemplate) {
57: this.manifestTemplate = manifestTemplate;
58: }
59:
60: public void setOsgiProfilePath(String osgiProfilePath) {
61: this.osgiProfilePath = osgiProfilePath;
62: }
63:
64: public void setOsgiProfile(String osgiProfile) {
65: this.osgiProfile = osgiProfile;
66: }
67:
68: public void setBundleSymbolicName(String bundleSymbolicName) {
69: this.bundleSymbolicName = bundleSymbolicName;
70: }
71:
72: public void setBundleVersion(String bundleVersion) {
73: this.bundleVersion = bundleVersion;
74: }
75:
76: public void setPropertiesPath(String propertiesPath) {
77: this.propertiesPath = propertiesPath;
78: }
79:
80: public void addPropertySet(PropertySet propertySet) {
81: this.propertySets.add(propertySet);
82: }
83:
84: public void addProperty(Property property) {
85: this.properties.add(property);
86: }
87:
88: public String getInputPath() {
89: return inputPath;
90: }
91:
92: public String getOutputPath() {
93: return outputPath;
94: }
95:
96: public String getManifestTemplatePath() {
97: return manifestTemplatePath;
98: }
99:
100: public String getManifestTemplate() {
101: return manifestTemplate;
102: }
103:
104: public String getOsgiProfilePath() {
105: return osgiProfilePath;
106: }
107:
108: public String getOsgiProfile() {
109: return osgiProfile;
110: }
111:
112: public String getBundleSymbolicName() {
113: return bundleSymbolicName;
114: }
115:
116: public String getBundleVersion() {
117: return bundleVersion;
118: }
119:
120: public String getPropertiesPath() {
121: return propertiesPath;
122: }
123:
124: public List<PropertySet> getPropertySets() {
125: return propertySets;
126: }
127:
128: public List<Property> getProperties() {
129: return properties;
130: }
131:
132: }