polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [4/4] polygene-java git commit: bootstrap, minor: add version accessor to ApplicationAssembly
Date Sat, 13 May 2017 13:12:16 GMT
bootstrap, minor: add version accessor to ApplicationAssembly


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/c340f1f0
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/c340f1f0
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/c340f1f0

Branch: refs/heads/develop
Commit: c340f1f00e41d73ff77843220575410e651f138f
Parents: bb9154b
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sat May 13 15:10:57 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sat May 13 15:10:57 2017 +0200

----------------------------------------------------------------------
 .../org/apache/polygene/bootstrap/ApplicationAssembly.java    | 7 +++++++
 .../polygene/runtime/bootstrap/ApplicationAssemblyImpl.java   | 1 +
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c340f1f0/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ApplicationAssembly.java
----------------------------------------------------------------------
diff --git a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ApplicationAssembly.java
b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ApplicationAssembly.java
index 5996f1a..5a93c81 100644
--- a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ApplicationAssembly.java
+++ b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ApplicationAssembly.java
@@ -56,6 +56,13 @@ public interface ApplicationAssembly
     String name();
 
     /**
+     * Get the currently set version of the application
+     *
+     * @return the version of the application
+     */
+    String version();
+
+    /**
      * Get the currently set mode of the application
      *
      * @return the application mode

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/c340f1f0/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/ApplicationAssemblyImpl.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/ApplicationAssemblyImpl.java
b/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/ApplicationAssemblyImpl.java
index ccc571b..db1e9b2 100644
--- a/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/ApplicationAssemblyImpl.java
+++ b/core/runtime/src/main/java/org/apache/polygene/runtime/bootstrap/ApplicationAssemblyImpl.java
@@ -144,6 +144,7 @@ public final class ApplicationAssemblyImpl
         return name;
     }
 
+    @Override
     public String version()
     {
         return version;


Mime
View raw message