public interface ApplicationInfo
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
Example: myapp
|
String |
getApplicationName()
Example: My Application
|
Date |
getBuildDate() |
String |
getBuildId()
Could be a build number from the build server, revision number from source control etc.
|
String |
getEnvironmentId()
Example: test
|
String |
getEnvironmentName()
Example: Test environment
|
String |
getHostName()
Example: localhost
|
String |
getInstanceId()
Application instance is usually a combination of the application, environment
and hostname.
|
Date |
getStartupDate() |
boolean |
isRunningIn(String environmentId) |
String getInstanceId()
String getApplicationId()
String getApplicationName()
String getEnvironmentId()
String getEnvironmentName()
String getHostName()
String getBuildId()
Date getBuildDate()
Date getStartupDate()
boolean isRunningIn(String environmentId)
environmentId - Id of the environment to check against.Copyright © 2017. All rights reserved.