ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1309041 - /ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java
Date Tue, 03 Apr 2012 17:02:11 GMT
Author: marrs
Date: Tue Apr  3 17:02:11 2012
New Revision: 1309041

URL: http://svn.apache.org/viewvc?rev=1309041&view=rev
Log:
Added some getters to retrieve the symbolic name and version of a deployment package.

Modified:
    ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java

Modified: ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java
URL: http://svn.apache.org/viewvc/ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java?rev=1309041&r1=1309040&r2=1309041&view=diff
==============================================================================
--- ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java
(original)
+++ ace/trunk/ace-builder/src/main/java/org/apache/ace/builder/DeploymentPackageBuilder.java
Tue Apr  3 17:02:11 2012
@@ -136,6 +136,16 @@ public class DeploymentPackageBuilder {
 		writeStream(artifacts, m, output);
 	}
 	
+	/** Returns the symbolic name of the deployment package. */
+	public String getName() {
+		return m_name;
+	}
+
+	/** Returns the version of the deployment package. */
+	public String getVersion() {
+		return m_version;
+	}
+	
 	private DeploymentPackageBuilder addBundleArtifact(URL url, boolean isResourceProcessor)
throws Exception {
 		JarInputStream jis = null;
 		try {



Mime
View raw message