public class Module extends Object
This is used to keep track of loaded modules in the system.
Modifier | Constructor and Description |
---|---|
protected |
Module(String name,
String version,
String build,
String date,
String vcs) |
Modifier and Type | Method and Description |
---|---|
protected static String |
fix(String value,
String replacement)
As some module infos rely on a build environment (build server) their value will be the unreplaced version
(${property}) in development systems.
|
String |
getDetails()
Returns a detailed description of the version of this module
|
String |
getName()
Returns the name of the module
|
String |
getUniqueVersionString()
Creates a string which is unqiue for each released version (based on its commit hash and build number.
|
String |
toString() |
public String getName()
public String getDetails()
public String getUniqueVersionString()
For development and test systems which have neigther of both, a random string is created for each running instance.
protected static String fix(String value, String replacement)
Therefore we filter those values and return the given replacement.
value
- the value to checkreplacement
- the replacement to useCopyright © 2018. All rights reserved.