public interface AApplicationInfoProvider
Configuration specifies an implementation of this interface rather than the values themselves to allow an application to retrieve some or all of the values at runtime, e.g. from a database.
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName()
This is a high-level name of the application per se, regardless of version or deployment.
|
String |
getDeployment()
This string identifies one 'instance' of a system.
|
String |
getHtmlColorCode()
This color code is used in presentation to allows users to distinguish between different deployments at a glance, e.g.
|
String |
getNodeId()
This string is relevant only in a clustered deployment, where it distinguishes between different nodes of a
cluster.
|
String |
getVersion()
This is the logical name of the software version.
|
String getApplicationName()
String getVersion()
String getDeployment()
This value is intended to allow aggregation (or comparison) of values from several JVMs in a central database.
This could be the name of a stage, e.g. 'prod' or 'qa-1', or for local developer deployments something like 'local-arno'.
String getNodeId()
String getHtmlColorCode()
There is a generic implementation that calculates the HTML color code from the other values.
Copyright © 2017. All rights reserved.