com.retek.commons.version
Class RcomRmmVersion

java.lang.Object
  extended bycom.retek.commons.version.RcomRmmVersion

public class RcomRmmVersion
extends java.lang.Object

This class is a static class that can return a version string from the CVS keyword embedded in the file, or from a tag string passed in.

Retek Inc. Copyright (c) 2004


Method Summary
static java.lang.String getCustomFlavor()
          Return the flavor (ex.
static java.lang.String getVersion()
           
static java.lang.String getVersion(java.lang.String tag)
           
static boolean isMgBaseFlavor()
          Return boolean indicating if the current running version of rcom-rmm project is the Mg Base (GA) custom flavor.
static boolean isNaBaseFlavor()
          Return boolean indicating if the current running version of rcom-rmm project is the Na Base (GA) flavor.
static boolean isWsCustomFlavor()
          Return boolean indicating if the current running version of rcom-rmm project is the WS custom flavor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVersion

public static final java.lang.String getVersion()

getVersion

public static final java.lang.String getVersion(java.lang.String tag)

getCustomFlavor

public static final java.lang.String getCustomFlavor()
Return the flavor (ex. rcom-rmm-Na, rcom-rmm-WS, rcom-rmm-Mg) of the software version.

Returns:
software flavor

isNaBaseFlavor

public static final boolean isNaBaseFlavor()
Return boolean indicating if the current running version of rcom-rmm project is the Na Base (GA) flavor.

Returns:
true if Na Base (GA) flavor

isMgBaseFlavor

public static final boolean isMgBaseFlavor()
Return boolean indicating if the current running version of rcom-rmm project is the Mg Base (GA) custom flavor.

Returns:
true if Mg Base (GA) flavor

isWsCustomFlavor

public static final boolean isWsCustomFlavor()
Return boolean indicating if the current running version of rcom-rmm project is the WS custom flavor.

Returns:
true if WS flavor


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25