Added MessgeBus.getVersion()

This commit is contained in:
nathan 2016-02-10 19:09:45 +01:00
parent d230347584
commit 4db2e1f08d
2 changed files with 13 additions and 1 deletions

View File

@ -132,7 +132,7 @@ The MessageBus is available from the Maven Central Repository using the followin
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>MessageBus</artifactId>
<version>1.4</version>
<version>1.7</version>
</dependency>
```
@ -146,3 +146,5 @@ This project is distributed under the terms of the Apache v2.0 License. See file

View File

@ -102,6 +102,14 @@ class MessageBus implements IMessageBus {
}
}
/**
* Gets the version number.
*/
public static
String getVersion() {
return "1.7";
}
private final ErrorHandler errorHandler;
private final SubscriptionManager subscriptionManager;
@ -346,3 +354,5 @@ class MessageBus implements IMessageBus {
this.subscriptionManager.shutdown();
}
}