Package com.atlassian.greenhopper.util
Class BuildPropertiesImpl
java.lang.Object
com.atlassian.greenhopper.util.BuildPropertiesImpl
- All Implemented Interfaces:
BuildProperties
Holds the GreenHopper build properties.
This class is an adaption of JIRA's com.atlassian.jira.util.BuildUtils class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
Get the build date.Get the change set this build is made of.Get the version of this build
-
Constructor Details
-
BuildPropertiesImpl
public BuildPropertiesImpl()
-
-
Method Details
-
getVersion
Description copied from interface:BuildProperties
Get the version of this build- Specified by:
getVersion
in interfaceBuildProperties
-
getChangeSet
Description copied from interface:BuildProperties
Get the change set this build is made of. Note that a + after the changeset indicates locally changed sources!- Specified by:
getChangeSet
in interfaceBuildProperties
- Returns:
- the changeset id
-
getBuildDate
public org.joda.time.DateTime getBuildDate()Description copied from interface:BuildProperties
Get the build date.- Specified by:
getBuildDate
in interfaceBuildProperties
-