public class WebAppAdminClient extends Object
| Constructor and Description |
|---|
WebAppAdminClient(String backendUrl,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteWebAppList(List<String> webAppList,
String host) |
List<String> |
getFaultyWebAppList(String webAppNameSearchString)
Get faulty WebApp list for the given search String.
|
org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper |
getPagedFaultyWebAppsSummary(String searchString,
String webAppType,
int pageNo)
Get faulty WebApp summary in Paged manner.
|
org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper |
getPagedWebAppsSummary(String searchString,
String webAppType,
String webAppState,
int pageNo)
Get WebApp summary in Paged manner.
|
List<String> |
getWebAppList(String webAppNameSearchString)
Get WebApp list for the given search String.
|
boolean |
uploadWarFile(String filePath)
Upload war files to the "repository/deployment/server/webapps/" location.
|
public boolean uploadWarFile(String filePath) throws RemoteException, MalformedURLException
filePath - - path to the location where the war files if locally located.RemoteException - - Exception occurs when uploading an war file using WebappAdminStub.MalformedURLException - - Exception occurs when creating the URL Object.public org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper getPagedWebAppsSummary(String searchString, String webAppType, String webAppState, int pageNo) throws RemoteException
searchString - - Search string for get the WebAPP summary.webAppType - - Type of the WebApp.webAppState - - State of the WebApp.pageNo - - Page no of the results.RemoteException - - Exception occurs when retrieving the WebAppSummary from the WebappAdminStubpublic List<String> getWebAppList(String webAppNameSearchString) throws RemoteException
webAppNameSearchString - - String that contains the data to filter the WebApp.RemoteException - - Exception occurs when call the method getPagedWebAppsSummary().public org.wso2.carbon.webapp.mgt.stub.types.carbon.WebappsWrapper getPagedFaultyWebAppsSummary(String searchString, String webAppType, int pageNo) throws RemoteException
searchString - - Search string for get the WebAPP summary.webAppType - - Type of the WebApp.pageNo - - State of the WebApp.RemoteException - - Exception occurs when retrieving the WebAppSummary from the WebappAdminStubpublic List<String> getFaultyWebAppList(String webAppNameSearchString) throws RemoteException
webAppNameSearchString - - String that contains the data to filter the WebApp.RemoteException - - Exception occurs when call the method getPagedFaultyWebAppsSummary().public void deleteWebAppList(List<String> webAppList, String host) throws RemoteException
RemoteExceptionCopyright © 2018 WSO2 Inc. All rights reserved.