public class JcmsInfo extends java.lang.Object implements JaliosConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUILD |
static int |
JCMS_EE |
static int |
JCMS_SE |
static int |
JCMS_WE |
static java.lang.String |
RELEASE |
static java.lang.String |
RELEASE_CANDIDATE |
static int |
RELEASE_MAINTENANCE |
static int |
RELEASE_MAJOR |
static int |
RELEASE_MINOR |
static java.lang.String |
REVISION |
static java.lang.String |
SVN_REVISION |
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
Constructor and Description |
---|
JcmsInfo() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateAddPackProp(java.lang.String addPack,
java.lang.String channelName)
Generates a add-pack property from a given string.
|
com.jalios.jcms.JcmsInfo.AdditionalPack |
getAdditionalPack() |
java.util.Date |
getAddPackExpirationDate()
Return the expiration date of the current AddPack, if any.
|
java.lang.String |
getAddPackName()
Returns the name of the add-pack.
|
static org.apache.log4j.Logger |
getLogger() |
java.lang.String |
getVersion() |
void |
init() |
static void |
main(java.lang.String[] args) |
static void |
mainUsage() |
public static final java.lang.String REVISION
public static final int RELEASE_MAJOR
public static final int RELEASE_MINOR
public static final int RELEASE_MAINTENANCE
public static final java.lang.String RELEASE_CANDIDATE
public static final java.lang.String RELEASE
public static final java.lang.String BUILD
public static final java.lang.String SVN_REVISION
public static final int JCMS_SE
public static final int JCMS_WE
public static final int JCMS_EE
public void init()
public static org.apache.log4j.Logger getLogger()
public java.lang.String getVersion()
public static java.lang.String generateAddPackProp(java.lang.String addPack, java.lang.String channelName)
addPack
- the add-pack stringchannelName
- the name of the channempublic static void mainUsage()
public static void main(java.lang.String[] args)
public com.jalios.jcms.JcmsInfo.AdditionalPack getAdditionalPack()
public java.util.Date getAddPackExpirationDate()
public java.lang.String getAddPackName()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.