Packagecom.ericfeminella.version
Classpublic class ReleaseManager
ImplementsIReleaseVersion

Manages release.properties configuration from which application version / release settings can be managed



Protected Properties
 PropertyDefined by
  version : String
ReleaseManager
Public Methods
 MethodDefined by
  
Constructor Instantiates the Singleton instance of ReleaseManager
ReleaseManager
  
[static] Provides access to the Singleton instance of ReleaseManager
ReleaseManager
  
getProperties():ResourceBundle
Returns the ReleaseManager ResourceBundle
ReleaseManager
  
Returns the current application release version
ReleaseManager
  
setReleaseVersion(code:String, major:int, minor:int, revision:int):void
Sets the current application release version
ReleaseManager
Property detail
versionproperty
protected var version:String
Constructor detail
ReleaseManager()constructor
public function ReleaseManager()

Constructor Instantiates the Singleton instance of ReleaseManager

Method detail
getInstance()method
public static function getInstance():ReleaseManager

Provides access to the Singleton instance of ReleaseManager

Returns
ReleaseManager — the singleton instance of ReleaseManager
getProperties()method 
public function getProperties():ResourceBundle

Returns the ReleaseManager ResourceBundle

Returns
ResourceBundle — .properties ResourceBundle instance
getReleaseVersion()method 
public function getReleaseVersion():String

Returns the current application release version

Returns
String — applicatrion version
setReleaseVersion()method 
public function setReleaseVersion(code:String, major:int, minor:int, revision:int):void

Sets the current application release version

Parameters
code:String — stage code
 
major:int — major version
 
minor:int — minor version
 
revision:int — revision number