public class GitProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_NAME |
static String |
APPLICATION_URL |
static String |
APPLICATION_VERSION
Use it on the properties given by
getProperties() to get project version captured at build time. |
static String |
GIT_COMMIT_ID_DESCRIBE
Use it on the properties given by
getProperties() to get repository version captured at build time. |
| Constructor and Description |
|---|
GitProperties() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getProperties()
Load a
Properties object with application version data. |
public static final String APPLICATION_NAME
public static final String APPLICATION_VERSION
getProperties() to get project version captured at build time.public static final String APPLICATION_URL
public static final String GIT_COMMIT_ID_DESCRIBE
getProperties() to get repository version captured at build time.public static Properties getProperties()
Properties object with application version data.APPLICATION_VERSION,
GIT_COMMIT_ID_DESCRIBE