com.infomatiq.jsi
Class BuildProperties

java.lang.Object
  extended by com.infomatiq.jsi.BuildProperties

public class BuildProperties
extends Object

Allows build properties to be retrieved at runtime. Currently, version and scmRevisionId are implemented.


Method Summary
static String getScmRevisionId()
          SCM revision ID.
static String getVersion()
          Version number as specified in pom.xml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVersion

public static String getVersion()
Version number as specified in pom.xml


getScmRevisionId

public static String getScmRevisionId()
SCM revision ID. This is the git commit ID.



Copyright © 2012. All Rights Reserved.