|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.junit.nucleus.TestUtils
public class TestUtils
This class is used to hold useful utilty methods people may need when running tests.
Field Summary | |
---|---|
static java.lang.String |
APP_SERVER_BEA
|
static java.lang.String |
APP_SERVER_DAS
|
static java.lang.String |
APP_SERVER_IBM
|
static java.lang.String |
APP_SERVER_TOMCAT
|
static java.lang.String[] |
APPLICATION_PRODUCT_MODULES
possible application product modules that may be installed |
static java.lang.String |
ATGDYNAMO_PRODUCT_MODULE
product module corresponding to ATG Dynamo |
static java.lang.String |
ATGJ2EESERVER_PRODUCT_MODULE
product module corresponding to ATG's J2EE Server |
static java.lang.String |
DUST_USERNAME
property to track the DUST user. |
static int |
DUST_VERSION
property to track the DUST version being used. |
static java.io.File |
DYNAMO_INSTALL_DIR
Returns the directory in which Dynamo was installed. |
static java.lang.String |
P4SYNCTIME
property to track the p4 sync time for tests. |
static java.lang.String |
TSM_TESTRUN
property to track which testrun a result is part of. |
static java.lang.String |
UNKNOWN_INFO
|
static java.lang.String |
VENDOR_ATG
|
static java.lang.String |
VENDOR_BEA
|
static java.lang.String |
VENDOR_IBM
|
static java.lang.String |
VENDOR_JBOSS
|
Fields inherited from class atg.nucleus.GenericService |
---|
CLASS_VERSION, SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
TestUtils()
|
Method Summary | |
---|---|
static java.lang.String |
accessURL(java.lang.String pUrl)
this method returns the contents of the page specified as the URL. |
static java.lang.String |
accessURL(java.lang.String pUrl,
boolean pThrow)
this method returns the contents of the page specified as the URL. |
static java.lang.String[] |
convertFileArray(java.lang.String pFiles,
java.lang.String pDelimiter)
converts a delimiter separated String of file names into an array and expands all System property variables in the Strings. |
static java.lang.String[] |
convertFileArray(java.lang.String pFiles,
java.lang.String pDelimiter,
java.util.Properties pPrimaryMapping)
converts a delimiter separated String of file names into an array and expands all variables in the Strings. |
static java.lang.String |
expand(java.lang.String pString)
expands all System property variables specified in the supplied String using curly braces syntax {...} and returns the resulting String. |
static java.lang.String |
expand(java.lang.String pString,
java.util.Properties pPrimaryMapping)
expands all property variables specified in the supplied String using curly braces syntax {...} and returns the resulting String. |
static atg.applauncher.AppModule[] |
getApplicationModules()
returns an array of AppModule items corresponding to the currently running application products. |
java.lang.String[] |
getApplicationProductModules()
returns the names of possible application product modules that may be installed in Dyanmo. |
static java.lang.String |
getAppServerBuildNumber()
Returns the build number of the app server being used. |
static java.lang.String |
getAppServerPatchBuildNumber()
Returns the patch build number of the app server being used. |
static java.lang.String |
getAppServerPatchVersion()
Returns the patch version of the app server being used. |
static java.lang.String |
getAppServerProductInfo()
Returns a summary of information about the App Server product being used. |
static java.lang.String |
getAppServerProductName()
Returns the product name of the app server being used. |
static java.lang.String |
getAppServerType()
returns the name of the app server that dynamo is using |
static java.lang.String |
getAppServerVendor()
Returns the vendor name of the App server manufacturer. |
static java.lang.String |
getAppServerVersion()
Returns the version number of the app server being used. |
static java.lang.String |
getAtgBuildNumber(atg.applauncher.AppModule pModule)
Returns the ATG product build number ("ATG-Build") of the specified module. |
static atg.applauncher.AppModule |
getAtgDynamoModule()
returns an AppModule corresponding to the ATG Dynamo if that product is loaded. |
static java.lang.String |
getAtgDynamoProductModule()
returns the name of the ATG Dynamo product module that will be loaded if Dynamo is being used. |
static java.lang.String |
getAtgFullVersion(atg.applauncher.AppModule pModule)
Returns the ATG full product version ("ATG-Version-Full") of the specified module. |
static java.io.File |
getAtgJ2eeServerInstallDir()
returns the root install directory for the ATG J2EE Server, or null if the ATG J2EE Server is not installed. |
static atg.applauncher.AppModule |
getAtgJ2eeServerModule()
returns an AppModule corresponding to the ATG J2EE Server if that product is loaded. |
static java.lang.String |
getAtgJ2eeServerProductModule()
returns the name of the ATG J2EE Server product module that will be loaded if ATG's J2EE Server is being used. |
static java.lang.String |
getAtgJ2eeServerProductName()
Returns the name of the ATG J2EE Server product this is installed, or null if a separate ATG J2EE Server build is not installed. |
static java.lang.String |
getAtgPatchBuildNumber(atg.applauncher.AppModule pModule)
Returns the ATG patch build number ("ATG-Patch-Build") of the specified module. |
static java.lang.String |
getAtgPatchVersion(atg.applauncher.AppModule pModule)
Returns the ATG patch version ("ATG-Patch-Version") of the specified module. |
static java.lang.String |
getAtgVersion(atg.applauncher.AppModule pModule)
Returns the ATG product version ("ATG-Version") of the specified module. |
static java.lang.String |
getBeaHomeDir()
returns the BEA home directory if running on BEA. |
static java.lang.String |
getBeaMyServerLogFile()
returns the expected location of the BEA 'myserver.log' file if running on BEA. |
static java.lang.String |
getBeaVersion()
returns the BEA version number. |
static java.lang.String |
getCompilerType()
returns the type of compiler that Dynamo is using |
java.lang.String |
getDustUsername()
returns the DUST user name. |
int |
getDustVersion()
returns the DUST version being used. |
static atg.service.dynamo.Configuration |
getDynamoConfiguration()
returns the Configuration component being used by Dynamo |
static java.io.File |
getDynamoHomeDir()
Returns Dynamo's "home" module installation directory. |
java.io.File |
getDynamoInstallDir()
Returns the directory in which Dynamo was installed. |
static java.lang.String |
getDynamoProductInfo()
Returns information about the ATG Dynamo product being used. |
static java.lang.String |
getDynamoProductName()
This method returns the name of the Dynamo product that is installed. |
static java.io.File |
getDynamoRootDir()
Returns the root directory for this Dynamo. |
static java.lang.String |
getHostname()
returns the hostname of the machine that Dynamo is running on |
static java.lang.String |
getJavaBuildVersion()
returns the java build version (java.version) that Dynamo is using |
static java.lang.String |
getJavaInfo()
returns info about the java build that Dynamo is using |
static java.lang.String |
getJavaVersion()
returns the java version that Dynamo is using |
static java.lang.String |
getJavaVersionDetails()
returns detailed version information about the jdk being used |
static java.io.File |
getJBossHomeDir()
Returns the JBOSS installation home directory, if Dynamo is running on JBOSS. |
static java.io.File |
getJBossServerHomeDir()
Returns the JBOSS server home directory, if Dynamo is running on JBOSS. |
static java.lang.String |
getJBossServerLog()
Returns the path to the JBOSS server log file, if it can be found. |
static java.lang.String |
getJBossServerName()
Returns the JBOSS server name, if Dynamo is running on JBOSS. |
static java.lang.String |
getJBossVersion()
Returns the version of JBOSS being used, if it can be determined. |
static java.lang.String |
getManifestInfo(atg.applauncher.AppModule pModule,
java.lang.String pEntry)
Retrieves a piece of information from the MANIFEST of the supplied AppModule. |
static java.lang.String |
getManifestInfo(java.util.jar.Manifest pManifest,
java.lang.String pEntry)
Retrieves a piece of information from the specified Manifest file. |
static java.io.File |
getModuleResourceFile(java.lang.String pModuleName,
java.lang.String pResourceURI)
Retrieves a File resource from a Dynamo Module. |
static java.lang.String |
getOperatingSystemType()
returns the type of Operating System that Dynamo is running on |
static int |
getSessionLimit(java.lang.String pLicense,
boolean pResolve)
returns the session limit of the specified license component |
static java.lang.String |
getStackTrace(java.lang.Throwable pException)
this method returns a String representation of an Exception's stacktrace |
java.lang.String |
getTsmTestrun()
Returns the TSM testrun this result is part of. |
static java.lang.String |
getWasHomeDir()
returns the WAS home directory if running on WAS. |
static java.lang.String |
getWasSystemErrLogFile()
returns the expected location of the WAS 'SystemErr.log' file if running on WAS. |
static java.lang.String |
getWasSystemOutLogFile()
returns the expected location of the WAS 'SystemOut.log' file if running on WAS. |
static java.lang.String |
getWasVersion()
returns the WAS version number. |
static java.lang.Object |
invokeMethod(java.lang.Object pObj,
java.lang.String pMethodName,
java.lang.Class<?>[] pSignature,
java.lang.Object[] pParams,
java.lang.Object pDefault)
|
static boolean |
isBigEar()
Returns true if Dynamo is running as BigEar; otherwise returns false. |
static boolean |
isBigEarStandalone()
Returns true if Dynamo is running as BigEar in standalone mode; otherwise returns false. |
static boolean |
isDynamoInstalled()
Returns true if the Dynamo product is being used; false if only the ATG J2EE Server product is running. |
static boolean |
isGenericAppServer()
Returns true if Dynamo is running on a 'generic' (aka Tomcat) j2ee appserver; false otherwise. |
static boolean |
isLiveconfig()
Returns true is Dynamo is running with liveconfig enabled; otherwise returns false. |
static void |
log(java.lang.String pMessage)
Logs a message using Nucleus.logInfo() if Nucleus is available. |
static java.io.File |
resolveAppModuleResourceReference(java.lang.String pReference)
Resolves an appModuleResource reference by parsing the string into its constituent ModuleID and ResourceURI. |
static boolean |
sendEmail(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject)
This method is used to send an email message; returns true if everything went ok; otherwise, returns false |
static void |
sendEmail(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments)
This method is used to send an email message that contains several attachments. |
static void |
sendEmail(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments,
java.io.File[] pFiles,
java.lang.String pBodyEncoding)
This method is used to send an email message that contains several attachments. |
static void |
sendEmail(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments,
java.lang.String pBodyEncoding)
This method is used to send an email message that contains several attachments. |
static boolean |
sendEmail(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject,
java.lang.String pBodyEncoding)
This method is used to send an email message; returns true if everything went ok; otherwise, returns false |
static void |
sendEmails(java.util.List<java.lang.String> pAddresses,
java.lang.String pMsg,
java.lang.String pSubject)
This method is used to send the same email message to a vector of recipients. |
static void |
sendEmails(java.util.List<java.lang.String> pAddresses,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments)
This method is used to send an email message that contains several attachments to multiple recipients. |
static void |
sendEmails(java.util.List<java.lang.String> pAddresses,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments,
java.io.File[] pFiles,
java.lang.String pBodyEncoding)
This method is used to send an email message that contains several attachments. |
static void |
sendEmails(java.util.List<java.lang.String> pAddresses,
java.lang.String pMsg,
java.lang.String pSubject,
java.util.Map<java.lang.String,java.lang.Object> pTextAttachments,
java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments,
java.lang.String pBodyEncoding)
This method is used to send an email message that contains several attachments to multiple recipients. |
static void |
sendEmails(java.util.List<java.lang.String> pAddresses,
java.lang.String pMsg,
java.lang.String pSubject,
java.lang.String pBodyEncoding)
This method is used to send the same email message to a vector of recipients |
static boolean |
sendEmailWithReturn(java.lang.String pAddress,
java.lang.String pMsg,
java.lang.String pSubject,
java.lang.String pBodyEncoding,
java.lang.String pReturnAddress)
This method is used to send an email message and allows the user to specify the return address. |
void |
setApplicationProductModules(java.lang.String[] pModules)
specifies the names of possible application product modules that may be installed in Dyanmo. |
static void |
setAtgDynamoProductModule(java.lang.String pModule)
specifies the name of the ATG Dynamo product module that will be loaded if Dynamo is being used. |
static void |
setAtgJ2eeServerProductModule(java.lang.String pModule)
specifies the name of the ATG J2EE Server product module that will be loaded if ATG's J2EE Server is being used. |
static void |
setBeaMyServerLogFile(java.lang.String pFile)
Specifies the log file to return when asked for the BEA 'myserver.log' file. |
void |
setDustUsername(java.lang.String pUsername)
specifies the DUST user. |
void |
setDustVersion(int pVersion)
specifies the DUST version being used. |
void |
setDynamoInstallDir(java.io.File pDir)
Specifies the directory in which Dynamo was installed. |
java.lang.String |
setP4Synctime()
property to track the p4 sync time for tests. |
void |
setP4Synctime(java.lang.String pTime)
property to track the p4 sync time for tests. |
void |
setTsmTestrun(java.lang.String pId)
Specifies the TSM testrun this result is part of. |
void |
setWasSystemErrLogFile(java.lang.String pFile)
Specifies the log file to return when asked for the WAS 'SystemErr.log' file. |
void |
setWasSystemOutLogFile(java.lang.String pFile)
Specifies the log file to return when asked for the WAS 'SystemOut.log' file. |
static void |
writeFileBytes(java.io.File pFile,
byte[] pBytes)
Writes the byte array into the specified file. |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String APP_SERVER_DAS
public static final java.lang.String APP_SERVER_BEA
public static final java.lang.String APP_SERVER_IBM
public static final java.lang.String APP_SERVER_TOMCAT
public static final java.lang.String VENDOR_ATG
public static final java.lang.String VENDOR_BEA
public static final java.lang.String VENDOR_IBM
public static final java.lang.String VENDOR_JBOSS
public static final java.lang.String UNKNOWN_INFO
public static int DUST_VERSION
public static java.lang.String DUST_USERNAME
public static java.lang.String TSM_TESTRUN
public static java.lang.String P4SYNCTIME
public static java.io.File DYNAMO_INSTALL_DIR
public static java.lang.String ATGDYNAMO_PRODUCT_MODULE
public static java.lang.String ATGJ2EESERVER_PRODUCT_MODULE
public static java.lang.String[] APPLICATION_PRODUCT_MODULES
Constructor Detail |
---|
public TestUtils()
Method Detail |
---|
public void setDustVersion(int pVersion)
public int getDustVersion()
public void setDustUsername(java.lang.String pUsername)
public java.lang.String getDustUsername()
public void setTsmTestrun(java.lang.String pId)
public java.lang.String getTsmTestrun()
public void setP4Synctime(java.lang.String pTime)
public java.lang.String setP4Synctime()
public java.io.File getDynamoInstallDir()
public void setDynamoInstallDir(java.io.File pDir)
public static java.io.File getDynamoRootDir()
public static java.io.File getDynamoHomeDir()
public static java.io.File getAtgJ2eeServerInstallDir()
public static java.lang.String getAppServerProductName()
public static java.lang.String getAtgJ2eeServerProductName()
public static java.lang.String getAppServerVersion()
public static java.lang.String getAppServerBuildNumber()
public static java.lang.String getAppServerPatchVersion()
public static java.lang.String getAppServerPatchBuildNumber()
public static java.lang.String getAppServerVendor()
public static boolean isDynamoInstalled()
public static java.lang.String getDynamoProductName()
public static java.lang.String getDynamoProductInfo()
public static java.lang.String getAppServerProductInfo()
public static java.lang.String getJavaVersion()
public static java.lang.String getJavaBuildVersion()
public static java.lang.String getJavaVersionDetails()
public static java.lang.String getJavaInfo()
public static java.lang.String getCompilerType()
public static java.lang.String getOperatingSystemType()
public static java.lang.String getHostname()
public static java.lang.String getAppServerType()
public static boolean isGenericAppServer()
public static java.lang.String getWasHomeDir()
public static java.lang.String getWasVersion()
public void setWasSystemOutLogFile(java.lang.String pFile)
public static java.lang.String getWasSystemOutLogFile()
public void setWasSystemErrLogFile(java.lang.String pFile)
public static java.lang.String getWasSystemErrLogFile()
public static java.lang.String getBeaHomeDir()
public static void setBeaMyServerLogFile(java.lang.String pFile)
public static java.lang.String getBeaMyServerLogFile()
public static java.lang.String getBeaVersion()
public static java.io.File getJBossHomeDir()
public static java.io.File getJBossServerHomeDir()
public static java.lang.String getJBossServerName()
public static java.lang.String getJBossServerLog()
public static java.lang.String getJBossVersion()
public static atg.service.dynamo.Configuration getDynamoConfiguration()
public static int getSessionLimit(java.lang.String pLicense, boolean pResolve)
String
- the component name of the license in questionboolean
- true if Nucleus should attempt to create the license
component if it does not exist
public static boolean sendEmailWithReturn(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject, java.lang.String pBodyEncoding, java.lang.String pReturnAddress)
public static boolean sendEmail(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject, java.lang.String pBodyEncoding)
public static boolean sendEmail(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject)
public static void sendEmails(java.util.List<java.lang.String> pAddresses, java.lang.String pMsg, java.lang.String pSubject, java.lang.String pBodyEncoding)
public static void sendEmails(java.util.List<java.lang.String> pAddresses, java.lang.String pMsg, java.lang.String pSubject)
public static void sendEmail(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments, java.io.File[] pFiles, java.lang.String pBodyEncoding)
public static void sendEmail(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments, java.lang.String pBodyEncoding)
public static void sendEmail(java.lang.String pAddress, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments)
public static void sendEmails(java.util.List<java.lang.String> pAddresses, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments, java.io.File[] pFiles, java.lang.String pBodyEncoding)
public static void sendEmails(java.util.List<java.lang.String> pAddresses, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments, java.lang.String pBodyEncoding)
public static void sendEmails(java.util.List<java.lang.String> pAddresses, java.lang.String pMsg, java.lang.String pSubject, java.util.Map<java.lang.String,java.lang.Object> pTextAttachments, java.util.Map<java.lang.String,java.lang.Object> pHTMLAttachments)
public static java.lang.String getStackTrace(java.lang.Throwable pException)
public static java.lang.String accessURL(java.lang.String pUrl, boolean pThrow) throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
- if URL is malformed & pThrow is true
java.io.IOException
- if error happens while reading and pThrow is truepublic static java.lang.String accessURL(java.lang.String pUrl)
public static void writeFileBytes(java.io.File pFile, byte[] pBytes) throws java.io.IOException
File
- pFile the file to write tobyte[]
- the bytes to write
java.io.IOException
- if an error occurred opening or reading the file.public static java.lang.String[] convertFileArray(java.lang.String pFiles, java.lang.String pDelimiter) throws java.lang.Exception
String
- delimited string of files to be converted to array.String
- delimiter string used to separated files
java.lang.Exception
- if files can't be resolved properlypublic static java.lang.String[] convertFileArray(java.lang.String pFiles, java.lang.String pDelimiter, java.util.Properties pPrimaryMapping) throws java.lang.Exception
String
- delimited string of files to be converted to array.String
- delimiter string used to separated filesProperties
- optional primary mapping of key/value pairs to
substitute into file paths whererever the syntax {...}
is found. If parameter is null, or mapping not found, then
System.getProperties() is checked.
java.lang.Exception
- if files can't be resolved properlypublic static java.lang.String expand(java.lang.String pString) throws java.lang.Exception
String
- the string to expand.
java.lang.Exception
- if a System property resolves to null or if
the enclosing braces are not properly matched.public static java.lang.String expand(java.lang.String pString, java.util.Properties pPrimaryMapping) throws java.lang.Exception
String
- the string to expand.Properties
- an optional primary key/value mapping to use
for System property substitutions. If param is null, or if
mapping not found, then System.getProperties().getProperty(xxx)
is used.
java.lang.Exception
- if a System or AppModuleResource property
resolves to null or if the enclosing braces are not properly
matched.public static void setAtgDynamoProductModule(java.lang.String pModule)
public static java.lang.String getAtgDynamoProductModule()
public static atg.applauncher.AppModule getAtgDynamoModule()
public static void setAtgJ2eeServerProductModule(java.lang.String pModule)
public static java.lang.String getAtgJ2eeServerProductModule()
public static atg.applauncher.AppModule getAtgJ2eeServerModule()
public void setApplicationProductModules(java.lang.String[] pModules)
public java.lang.String[] getApplicationProductModules()
public static atg.applauncher.AppModule[] getApplicationModules()
public static java.io.File getModuleResourceFile(java.lang.String pModuleName, java.lang.String pResourceURI)
String
- pModuleName the name of the Dynamo module to look in. e.g. "SystemTests.JSPTest"String
- pResourceURI the URI of the File to get from the module. e.g. "mite.xml"
public static java.io.File resolveAppModuleResourceReference(java.lang.String pReference)
String
- pReference The AppModuleResource reference to resolve. Expected to be of format:
java.lang.IllegalArgumentException
- if the specified reference does not have the proper structure.public static java.lang.String getManifestInfo(atg.applauncher.AppModule pModule, java.lang.String pEntry)
public static void log(java.lang.String pMessage)
pMessage
- public static java.lang.String getManifestInfo(java.util.jar.Manifest pManifest, java.lang.String pEntry)
public static java.lang.String getAtgVersion(atg.applauncher.AppModule pModule)
public static java.lang.String getAtgBuildNumber(atg.applauncher.AppModule pModule)
public static java.lang.String getAtgPatchVersion(atg.applauncher.AppModule pModule)
public static java.lang.String getAtgPatchBuildNumber(atg.applauncher.AppModule pModule)
public static java.lang.String getAtgFullVersion(atg.applauncher.AppModule pModule)
public static boolean isBigEar()
public static boolean isBigEarStandalone()
public static boolean isLiveconfig()
public static java.lang.Object invokeMethod(java.lang.Object pObj, java.lang.String pMethodName, java.lang.Class<?>[] pSignature, java.lang.Object[] pParams, java.lang.Object pDefault)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |