Uses of Class
dev.galasa.zosliberty.ZosLibertyServerException
Packages that use ZosLibertyServerException
- 
Uses of ZosLibertyServerException in dev.galasa.zosliberty
Methods in dev.galasa.zosliberty that throw ZosLibertyServerExceptionModifier and TypeMethodDescriptionvoidIZosLibertyServerXml.addCommentsBefore(Element element, String... comments) Add one or more XML comment before the supplied XML elementIZosLibertyServerXml.addCompoundElement(String elementName, Map<String, String> elementAttributes, IZosLibertyServerXmlElementList subElements) Add a compound XML element to the Liberty server.xml Document objectIZosLibertyServerXml.addCompoundElementToParent(Element parent, String elementName, Map<String, String> elementAttributes, IZosLibertyServerXmlElementList subElements) Add a compound XML element as a child to supplied XML element in the Liberty server.xml Document objectIZosLibertyServerXml.addElement(String elementName, Map<String, String> elementAttributes) Add a simple XML element to the Liberty server.xml Document objectIZosLibertyServerXml.addElementToParent(Element parent, String elementName, Map<String, String> elementAttributes) Add a simple XML element as a child to supplied XML element in the Liberty server.xml Document objectvoidIZosLibertyServer.addFeature(String feature) Convenience method to add a feature to the Liberty serverserver.xmlIZosLibertyServerXml.addTextContextElement(Element parent, String elementName, String elementText) Add a text context XML element as a child to supplied XML element in the Liberty server.xml Document objectvoidIZosLibertyServer.build()Builds the the Liberty server on the zOS UNIX file system from any objects that have been created such as the server.xmllongIZosLibertyServerLog.checkpoint()Checkpoint thisIZosLibertyServerLogvoidIZosLibertyServerLogs.checkpoint()Checkpoint the current know log filesvoidIZosLibertyServer.checkpointLogs()Convenience method to checkpoint the known Liberty server logs, i.e.voidIZosLibertyServer.clearLogs()Clear the contents of the Liberty servers logs directoryintIZosLibertyServer.create()Create a Liberty server using theserver createcommandvoidIZosLibertyServer.delete()Delete the Liberty server files and directoriesvoidIZosLibertyServerLog.delete()Delete theIZosUNIXFileif it existsvoidIZosLibertyServerLogs.delete()Delete the contents of the logs directoryvoidIZosLibertyServer.deployApplication(Class<?> testClass, String path, String targetLocation, IZosLibertyServer.ApplicationType type, String name, String contextRoot) Deploy an application to the Liberty server.voidIZosLibertyServer.deployApplicationToDropins(Class<?> testClass, String path) Deploy an application to the Liberty server dropins directory.IZosLibertyServerXml.getAsDocument()Get the Liberty server.xml object as aDocumentIZosLibertyServerXml.getAsString()Get the Liberty server.xml object as aStringIZosLibertyServerXml.getAsZosUNIXFile()Get the Liberty server.xml as aIZosUNIXFileIZosLibertyServer.getDropinsDir()Get the Liberty server dropins directoryIZosLibertyServerXml.getElements(String elementName) Get an list of XML elements from the Liberty server.xml Document object.
N.B.IZosLibertyServerXml.getElementsById(String elementName, String id) Get an list of XML elements from the Liberty server.xml Document object.
N.B.IZosLibertyServer.getJavaHome()Get the JAVA_HOME value for this Liberty serverIZosLibertyServer.getKeystoreFile()Returns the keystore file for this Liberty serverIZosLibertyServer.getLogs()Get the contents of the Liberty servers logs directoryIZosLibertyServer.getLogsDirectory()Get the Liberty server logs directoryIZosLibertyServerLog.getName()Returns the name of the specified log fileIZosLibertyServer.getServerConfigDir()Returns the Liberty Server Configuration Directory${server.config.app.dir}as aIZosUNIXFileobjectIZosLibertyServer.getServerOutputDir()Returns the Liberty Server Output Directory${server.output.dir}as aIZosUNIXFileobjectIZosLibertyServer.getServerXml()Get the server.xml object for this Liberty serverIZosLibertyServer.getSharedAppDir()Returns the Liberty Shared Application Directory${shared.app.dir}as aIZosUNIXFileobjectIZosLibertyServer.getSharedConfigDir()Returns the Liberty Shared Configuration Directory${shared.config.dir}as aIZosUNIXFileobjectIZosLibertyServer.getSharedResourcesDir()Returns the Liberty Shared Resources Directory${shared.resources.dir}as aIZosUNIXFileobjectIZosLibertyServer.getVersion()Returns the Liberty versionIZosLibertyServer.getWlpInstallDir()Returns the Liberty Install Directory${WLP_INSTALL_DIR}as aIZosUNIXFileobjectIZosLibertyServer.getWlpOutputDir()Returns the Liberty Output Directory${WLP_OUTPUT_DIR}as aIZosUNIXFileobjectIZosLibertyServer.getWlpUserDir()Returns the Liberty User Directory${WLP_USER_DIR}as aIZosUNIXFileobjectIZosLibertyServerLog.getZosUNIXFile()Returns theIZosUNIXFileassociated with thisIZosLibertyServerLogIZosLibertyServer.listFeatures()Convenience method to list the current features listed in thefeatureManagerelement in the Liberty serverserver.xmlvoidIZosLibertyServerXml.loadFromFileSystem()Update the content of theIZosLibertyServerXmlwith the content of the server.xml file from the zOS UNIX file systemIZosLibertyServer.loadServerXmlFromFileSystem()Load the content of the Liberty server.xml from the file system into the internalIZosLibertyServerXmlobjectIZosLiberty.newZosLibertyServer(IZosImage zosImage) Create a zOS Liberty server object using the Liberty/Galasa default propertiesIZosLiberty.newZosLibertyServer(IZosImage zosImage, String wlpInstallDir, String wlpUserDir, String wlpOutputDir) Create a zOS Liberty server object using the Liberty/Galasa default propertiesvoidIZosLibertyServerLogs.refresh()Refresh the list of log filesvoidIZosLibertyServer.removeApplication(String name) Remove an application from the Liberty server.voidIZosLibertyServer.removeApplicationFromDropins(String fileName) Remove an application from the Liberty server dropins directory.voidIZosLibertyServerXml.removeElements(String elementName) Remove all XML elements with specified name from the Liberty server.xml Document objectvoidIZosLibertyServerXml.removeElementsById(String elementName, String id) Remove all XML elements with specified name and id from the Liberty server.xml Document objectvoidIZosLibertyServer.removeFeature(String feature) Convenience method remove a feature from the Liberty serverserver.xmlIZosLibertyServerLog.retrieve()Returns the contents of a specified logIZosLibertyServer.retrieveMessagesLog()Get the current contents of the Liberty servermessages.logas aStringIZosLibertyServer.retrieveMessagesLogSinceCheckpoint()Get the current contents of the Liberty servermessages.logas aStringsince the last checkpointIZosLibertyServerLog.retrieveSinceCheckpoint()Returns the contents of log since the last checkpointIZosLibertyServer.retrieveTraceLog()Get the current contents of the Liberty servertrace.logas aStringIZosLibertyServer.retrieveTraceLogSinceCheckpoint()Get the current contents of the Liberty servertrace.logas aStringsince the last checkpointintIZosLibertyServer.run()Run the Liberty server as a zOS batch jobvoidIZosLibertyServer.saveToResultsArchive()Store the content of the Liberty server logs and configuration to the default location in the Results Archive StorevoidIZosLibertyServer.saveToResultsArchive(String rasPath) Store the content of the Liberty server logs and configuration to the Results Archive StorevoidIZosLibertyServerLog.saveToResultsArchive(String rasPath) Save the log to the Results Archive StorevoidIZosLibertyServerLogs.saveToResultsArchive(String rasPath) Store the content of the Liberty server logs to the Results Archive StorevoidIZosLibertyServerXml.saveToResultsArchive(String rasPath) Store the content of the Liberty server.xml to the Results Archive StoreIZosLibertyServerLog.searchForPattern(Pattern searchPattern) Searches contents of log for specified search PatternIZosLibertyServerLog.searchForPattern(Pattern searchPattern, Pattern failPattern) Searches contents of log for specified search or fail PatternIZosLibertyServerLog.searchForPatternSinceCheckpoint(Pattern searchPattern) Searches contents of log for specified search Pattern since the last checkpointIZosLibertyServerLog.searchForPatternSinceCheckpoint(Pattern searchPattern, Pattern failPattern) Searches contents of log for specified search or fail Pattern since the last checkpointIZosLibertyServerLog.searchForText(String searchText) Searches contents of log for specified search textIZosLibertyServerLog.searchForText(String searchText, String failText) Searches contents of log for specified search or fail StringIZosLibertyServerLog.searchForTextSinceCheckpoint(String searchText) Searches contents of log for specified search text String since the last checkpointIZosLibertyServerLog.searchForTextSinceCheckpoint(String searchText, String failText) Searches contents of log for specified search or fail String since the last checkpointIZosLibertyServer.securityUtilityEncode(String password) Use the Liberty securityUtility command to encode a passwordIZosLibertyServer.securityUtilityGenerateKeystore(String password) Use the Liberty securityUtility to create a new keyStorevoidIZosLibertyServer.setDefaultHttpEndpoint(String host, int httpPort, int httpsPort) Convenience method to create or replace thedefaultHttpEndpointelement in the Liberty serverserver.xmlvoidIZosLibertyServerXml.setFromDocument(Document serverXml) Replace the Liberty server.xml object fromDocumentcontentvoidIZosLibertyServerXml.setFromString(String serverXml) Replace the Liberty server.xml object fromStringcontentvoidIZosLibertyServerXml.setFromZosUNIXFile(IZosUNIXFile serverXml) Replace the Liberty server.xml object fromIZosUNIXFilecontentvoidIZosLibertyServer.setJavaHome(String javaHome) Set the value of JAVA_HOME for this Liberty servervoidIZosLibertyServer.setServerXml(IZosLibertyServerXml serverXml) Set the server.xml object for this Liberty servervoidIZosLibertyServer.setWlpInstallDir(String wlpInstallDir) Provides the location of the Liberty Install Directory${WLP_INSTALL_DIR}voidIZosLibertyServer.setWlpOutputDir(String wlpOutputDir) Provides the location of the Liberty Output Directory${WLP_OUTPUT_DIR}voidIZosLibertyServer.setWlpUserDir(String wlpUserDir) Provides the location of the Liberty User Directory${WLP_USER_DIR}intIZosLibertyServer.start()Start the Liberty server using theserver startcommandintIZosLibertyServer.status()Get the Liberty sever status using theserver statuscommandintIZosLibertyServer.stop()Stop the Liberty servervoidIZosLibertyServerXml.store()Create or replace the server.xml file on the zOS UNIX file systembooleanIZosLibertyServer.waitForApplicationStart(String name) Wait for an application to start using the default timeout by looking forCWWKZ0001Imessage in messages.log.booleanIZosLibertyServer.waitForApplicationStart(String name, int timeout) Wait for an application to start using the supplied timeout by looking forCWWKZ0001Imessage in messages.log.booleanIZosLibertyServer.waitForApplicationStop(String name) Wait for an application to stop using the default timeout by looking forCWWKZ0009Imessage in messages.log.booleanIZosLibertyServer.waitForApplicationStop(String name, int timeout) If themessages.loghas not been check-pointed, the whole file will be searched.IZosLibertyServerLog.waitForPattern(Pattern searchPattern, long timeout) Wait for a search Pattern to appear in specified log.IZosLibertyServerLog.waitForPattern(Pattern searchPattern, Pattern failPattern, long timeout) Wait for a search or fail Pattern or fail Pattern to appear in specified log.IZosLibertyServerLog.waitForPatternSinceCheckpoint(Pattern searchPattern, long timeout) Wait for a search Pattern to appear in specified log since the last checkpoint.IZosLibertyServerLog.waitForPatternSinceCheckpoint(Pattern searchPattern, Pattern failPattern, long timeout) Wait for a search or fail Pattern or fail Pattern to appear in specified log since the last checkpoint.intIZosLibertyServer.waitForStart()Wait for the Liberty server to start using the default timeoutintIZosLibertyServer.waitForStart(int timeout) Wait for the Liberty server to start using the supplied timeoutbooleanIZosLibertyServer.waitForStartMessage()Wait for the Liberty server to issue theCWWKF0011Imessage to themessages.logusing the default timeoutbooleanIZosLibertyServer.waitForStartMessage(int timeout) Wait for the Liberty server to issue theCWWKF0011Imessage to themessages.logusing the supplied timeoutintIZosLibertyServer.waitForStop()Wait for the Liberty server to stop using the default timeoutintIZosLibertyServer.waitForStop(int timeout) Wait for the Liberty server to stop using the supplied timeoutbooleanIZosLibertyServer.waitForStopMessage()Wait for the Liberty server to issue theCWWKE0036Imessage to themessages.logusing the default timeoutbooleanIZosLibertyServer.waitForStopMessage(int timeout) Wait for the Liberty server to issue theCWWKE0036Imessage to themessages.logusing the supplied timeoutIZosLibertyServerLog.waitForText(String searchText, long timeout) Wait for a search search String to appear in specified log.IZosLibertyServerLog.waitForText(String searchText, String failText, long timeout) Wait for a search String or fail text to appear in specified log.IZosLibertyServerLog.waitForTextSinceCheckpoint(String searchText, long timeout) Wait for a search String to appear in specified log since the last checkpoint.IZosLibertyServerLog.waitForTextSinceCheckpoint(String searchText, String failText, long timeout) Wait for a search or fail String to appear in specified log since the last checkpoint.