Package | Description |
---|---|
info.aduna.app |
Modifier and Type | Method and Description |
---|---|
AppVersion |
AppConfiguration.getVersion()
Get the version of the application.
|
static AppVersion |
AppVersion.parse(String versionString)
Parses a version string into a Version object.
|
Modifier and Type | Method and Description |
---|---|
int |
AppVersion.compareTo(AppVersion other)
Compares two version numbers according to their major, minor and micro
version numbers, ordering from oldest to newests version.
|
boolean |
AppVersion.newerThan(AppVersion other)
Checks if this version is newer than the specified version, according to
the result of
compareTo(AppVersion) . |
boolean |
AppVersion.olderThan(AppVersion other)
Checks if this version is older than the specified version, according to
the result of
compareTo(AppVersion) . |
void |
AppConfiguration.setVersion(AppVersion version)
Set the version of the application.
|
Constructor and Description |
---|
AppConfiguration(String applicationId,
AppVersion version)
Create the application configuration.
|
AppConfiguration(String applicationId,
String longName,
AppVersion version)
Create the application configuration.
|
Copyright © 2001–2016 Aduna. All rights reserved.