public class BuildInformation
extends java.lang.Object
Provides information about the environment used to create a build. This includes:
| Constructor and Description |
|---|
BuildInformation()
Creates a build information object from the file
buildInformation.properties located in the same package as this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBuildEngineHostName()
Returns the 'buildEngineHostName' entry from the build information
properties file as a String.
|
java.lang.String |
getBuildEngineId()
Returns the 'buildEngineId' entry from the build information properties
file as a String
|
java.lang.String |
getBuildLabel()
Returns the 'buildLabel' entry from the build information properties file
as a String.
|
java.lang.String |
getBuildType()
Returns the 'buildType' entry from the build information properties file
as a String.
|
java.lang.String |
getRepositoryAddress()
Returns the 'repositoryAddress' entry from the build information
properties file as a String.
|
java.lang.String |
getVersion()
Returns the 'version' entry from the build information properties file as
a String.
|
int |
hashCode() |
static void |
main(java.lang.String[] args)
Prints out the build information.
|
java.lang.String |
toString() |
public BuildInformation()
public static void main(java.lang.String[] args)
args - public java.lang.String getVersion()
public java.lang.String getBuildEngineHostName()
public java.lang.String getBuildEngineId()
public java.lang.String getBuildLabel()
public java.lang.String getBuildType()
public java.lang.String getRepositoryAddress()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object