public class CarbonServerManager extends Object
| Constructor and Description |
|---|
CarbonServerManager(org.wso2.carbon.automation.engine.context.AutomationContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
restartGracefully() |
void |
serverShutdown(int portOffset) |
String |
setUpCarbonHome(String carbonServerZipFile)
Unzip carbon zip file and return the carbon home.
|
void |
startServerUsingCarbonHome(String carbonHome,
Map<String,String> commandMap) |
public CarbonServerManager(org.wso2.carbon.automation.engine.context.AutomationContext context)
public void startServerUsingCarbonHome(String carbonHome, Map<String,String> commandMap) throws org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException
org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkExceptionpublic String setUpCarbonHome(String carbonServerZipFile) throws IOException, org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException
carbonServerZipFile - - Carbon zip file, which should be specified in test module pomIOException - - If pack extraction failsorg.wso2.carbon.automation.engine.exceptions.AutomationFrameworkExceptionpublic void serverShutdown(int portOffset)
throws org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException
org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkExceptionpublic void restartGracefully()
throws org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException
org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkExceptionCopyright © 2018 WSO2. All rights reserved.