com.jalios.jcms
Class JcmsInfo
java.lang.Object
com.jalios.jcms.JcmsInfo
public class JcmsInfo
- extends Object
This class manages information about JCMS release.
- Since:
- jcms-3.0
- Version:
- $Revision: 79944 $
- Author:
- Olivier Dedieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
RELEASE_MAJOR
public static final int RELEASE_MAJOR
- See Also:
- Constant Field Values
RELEASE_MINOR
public static final int RELEASE_MINOR
- See Also:
- Constant Field Values
RELEASE_MAINTENANCE
public static final int RELEASE_MAINTENANCE
- See Also:
- Constant Field Values
RELEASE_CANDIDATE
public static final String RELEASE_CANDIDATE
- See Also:
- Constant Field Values
RELEASE
public static final String RELEASE
- See Also:
- Constant Field Values
BUILD
public static final String BUILD
- See Also:
- Constant Field Values
SVN_REVISION
public static final String SVN_REVISION
- See Also:
- Constant Field Values
JCMS_SE
public static final int JCMS_SE
- See Also:
- Constant Field Values
JCMS_WE
public static final int JCMS_WE
- See Also:
- Constant Field Values
JCMS_EE
public static final int JCMS_EE
- See Also:
- Constant Field Values
JcmsInfo
public JcmsInfo()
init
public void init()
getLogger
public static org.apache.log4j.Logger getLogger()
getVersion
public String getVersion()
- Returns:
- JCMS version string
- Since:
- jcms-3.0
generateAddPackProp
public static String generateAddPackProp(String addPack,
String channelName)
- Generates a add-pack property from a given string.
- Parameters:
addPack
- the add-pack stringchannelName
- the name of the channem
- Returns:
- the add-pack property
- Since:
- jcms-5.6.0
mainUsage
public static void mainUsage()
main
public static void main(String[] args)
getAdditionalPack
public com.jalios.jcms.JcmsInfo.AdditionalPack getAdditionalPack()
getAddPackExpirationDate
public Date getAddPackExpirationDate()
- Return the expiration date of the current AddPack, if any.
- Returns:
- a Date, or null if no addpack is configured, or if this add pack does not have an expiration date
getAddPackName
public String getAddPackName()
- Returns the name of the add-pack.
- Returns:
- the name of the add-pack.
- Since:
- jcms-7.1.3
Copyright © 2001-2010 Jalios SA. All Rights Reserved.