com.atlassian.greenhopper.util
Class BuildPropertiesImpl

java.lang.Object
  extended by com.atlassian.greenhopper.util.BuildPropertiesImpl
All Implemented Interfaces:
BuildProperties

@Service
public class BuildPropertiesImpl
extends java.lang.Object
implements BuildProperties

Holds the GreenHopper build properties. This class is an adaption of JIRA's com.atlassian.jira.util.BuildUtils class


Constructor Summary
BuildPropertiesImpl()
           
 
Method Summary
 org.joda.time.DateTime getBuildDate()
          Get the build date.
 java.lang.String getChangeSet()
          Get the change set this build is made of.
 java.lang.String getVersion()
          Get the version of this build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildPropertiesImpl

public BuildPropertiesImpl()
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from interface: BuildProperties
Get the version of this build

Specified by:
getVersion in interface BuildProperties

getChangeSet

public java.lang.String 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 interface BuildProperties
Returns:
the changeset id

getBuildDate

public org.joda.time.DateTime getBuildDate()
Description copied from interface: BuildProperties
Get the build date.

Specified by:
getBuildDate in interface BuildProperties


Copyright © 2007-2014 Atlassian. All Rights Reserved.