com.atlassian.jira.util.system
Class ReleaseInfo

java.lang.Object
  extended by com.atlassian.jira.util.system.ReleaseInfo

public class ReleaseInfo
extends Object

Utilty for displaying some random text associated with a particular release.

For instance we need to display whether a release is Standalone, WAR or source. We may in the future want to display information for bespoke customisations.


Method Summary
 String getInfo()
          Gets the contents of a file in this package called "release.info".
static ReleaseInfo getReleaseInfo(Class whereToLook)
           
 boolean hasInfo()
          Does the release.info file exist?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getReleaseInfo

public static ReleaseInfo getReleaseInfo(Class whereToLook)

getInfo

public String getInfo()
Gets the contents of a file in this package called "release.info".


hasInfo

public boolean hasInfo()
Does the release.info file exist?



Copyright © 2002-2014 Atlassian. All Rights Reserved.