Package: Configuration

Configuration

nameinstructionbranchcomplexitylinemethod
Configuration()
M: 0 C: 8
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
addProperties(Properties)
M: 0 C: 6
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
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%
getDefaultBundleSymbolicName()
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%
getDefaultBundleVersion()
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%
setBundleSymbolicName(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%
setBundleVersion(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%
setDefaultBundleSymbolicName(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%
setDefaultBundleVersion(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%
setInputPath(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%
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: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
setOutputPath(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%
setPropertiesPath(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%

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.maven.plugin.internal;
13:
14: import java.util.ArrayList;
15: import java.util.List;
16: import java.util.Properties;
17:
18: public final class Configuration {
19:
20: private volatile String inputPath;
21:
22: private volatile String outputPath;
23:
24: private volatile String manifestTemplatePath;
25:
26: private volatile String manifestTemplate;
27:
28: private volatile String osgiProfilePath;
29:
30: private volatile String osgiProfile;
31:
32: private volatile String bundleSymbolicName;
33:
34: private volatile String defaultBundleSymbolicName;
35:
36: private volatile String bundleVersion;
37:
38: private volatile String defaultBundleVersion;
39:
40: private volatile String propertiesPath;
41:
42: private final List<Properties> properties = new ArrayList<Properties>();
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 setDefaultBundleSymbolicName(String defaultBundleSymbolicName) {
73: this.defaultBundleSymbolicName = defaultBundleSymbolicName;
74: }
75:
76: public void setBundleVersion(String bundleVersion) {
77: this.bundleVersion = bundleVersion;
78: }
79:
80: public void setDefaultBundleVersion(String defaultBundleVersion) {
81: this.defaultBundleVersion = defaultBundleVersion;
82: }
83:
84: public void setPropertiesPath(String propertiesPath) {
85: this.propertiesPath = propertiesPath;
86: }
87:
88: public void addProperties(Properties properties) {
89: this.properties.add(properties);
90: }
91:
92: public String getInputPath() {
93: return inputPath;
94: }
95:
96: public String getOutputPath() {
97: return outputPath;
98: }
99:
100: public String getManifestTemplatePath() {
101: return manifestTemplatePath;
102: }
103:
104: public String getManifestTemplate() {
105: return manifestTemplate;
106: }
107:
108: public String getOsgiProfilePath() {
109: return osgiProfilePath;
110: }
111:
112: public String getOsgiProfile() {
113: return osgiProfile;
114: }
115:
116: public String getBundleSymbolicName() {
117: return bundleSymbolicName;
118: }
119:
120: public String getDefaultBundleSymbolicName() {
121: return defaultBundleSymbolicName;
122: }
123:
124: public String getBundleVersion() {
125: return bundleVersion;
126: }
127:
128: public String getDefaultBundleVersion() {
129: return defaultBundleVersion;
130: }
131:
132: public String getPropertiesPath() {
133: return propertiesPath;
134: }
135:
136: public List<Properties> getProperties() {
137: return properties;
138: }
139:
140: }