com.arjuna.common.util
Class ConfigurationInfo

java.lang.Object
  extended by com.arjuna.common.util.ConfigurationInfo

public class ConfigurationInfo
extends java.lang.Object

Utility class providing access to build time and runtime configuration reporting functions. Replaces the old per-module Info (and in some cases Configuration and report) classes.

Author:
Jonathan Halliday (jonathan.halliday@redhat.com) 2009-10

Constructor Summary
ConfigurationInfo()
           
 
Method Summary
static java.lang.String getPropertiesFile()
           
static java.lang.String getSourceId()
           
static java.lang.String getVersion()
           
static void main(java.lang.String[] args)
          Print config info to stdout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationInfo

public ConfigurationInfo()
Method Detail

getVersion

public static java.lang.String getVersion()
Returns:
the version, if known.
See Also:
.getSourceId

getSourceId

public static java.lang.String getSourceId()
Returns:
the version control tag of the source used, or "unknown".

getPropertiesFile

public static java.lang.String getPropertiesFile()
Returns:
the name (not path) of the properties file

main

public static void main(java.lang.String[] args)
Print config info to stdout.

Parameters:
args - unused