blob: 960b5b92e81fe4e6fdd71ef51d3f4b54f1e92f5a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2010 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* VMware Inc. - initial contribution
*******************************************************************************/
package org.eclipse.virgo.bundlor.maven.plugin.internal;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public final class Configuration {
private volatile String inputPath;
private volatile String outputPath;
private volatile String manifestTemplatePath;
private volatile String manifestTemplate;
private volatile String osgiProfilePath;
private volatile String osgiProfile;
private volatile String bundleSymbolicName;
private volatile String defaultBundleSymbolicName;
private volatile String bundleVersion;
private volatile String defaultBundleVersion;
private volatile String propertiesPath;
private final List<Properties> properties = new ArrayList<Properties>();
public void setInputPath(String inputPath) {
this.inputPath = inputPath;
}
public void setOutputPath(String outputPath) {
this.outputPath = outputPath;
}
public void setManifestTemplatePath(String manifestTemplatePath) {
this.manifestTemplatePath = manifestTemplatePath;
}
public void setManifestTemplate(String manifestTemplate) {
this.manifestTemplate = manifestTemplate;
}
public void setOsgiProfilePath(String osgiProfilePath) {
this.osgiProfilePath = osgiProfilePath;
}
public void setOsgiProfile(String osgiProfile) {
this.osgiProfile = osgiProfile;
}
public void setBundleSymbolicName(String bundleSymbolicName) {
this.bundleSymbolicName = bundleSymbolicName;
}
public void setDefaultBundleSymbolicName(String defaultBundleSymbolicName) {
this.defaultBundleSymbolicName = defaultBundleSymbolicName;
}
public void setBundleVersion(String bundleVersion) {
this.bundleVersion = bundleVersion;
}
public void setDefaultBundleVersion(String defaultBundleVersion) {
this.defaultBundleVersion = defaultBundleVersion;
}
public void setPropertiesPath(String propertiesPath) {
this.propertiesPath = propertiesPath;
}
public void addProperties(Properties properties) {
this.properties.add(properties);
}
public String getInputPath() {
return inputPath;
}
public String getOutputPath() {
return outputPath;
}
public String getManifestTemplatePath() {
return manifestTemplatePath;
}
public String getManifestTemplate() {
return manifestTemplate;
}
public String getOsgiProfilePath() {
return osgiProfilePath;
}
public String getOsgiProfile() {
return osgiProfile;
}
public String getBundleSymbolicName() {
return bundleSymbolicName;
}
public String getDefaultBundleSymbolicName() {
return defaultBundleSymbolicName;
}
public String getBundleVersion() {
return bundleVersion;
}
public String getDefaultBundleVersion() {
return defaultBundleVersion;
}
public String getPropertiesPath() {
return propertiesPath;
}
public List<Properties> getProperties() {
return properties;
}
}