public class RepositoryAdminClient extends Object
| Constructor and Description |
|---|
RepositoryAdminClient(String backendURL,
org.wso2.carbon.automation.engine.context.AutomationContext automationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepository(String repoURL,
String nickName,
boolean localRepo) |
void |
enableRepository(String location,
String enabled) |
org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] |
getAllRepositories() |
org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] |
getEnabledRepositories() |
org.wso2.carbon.feature.mgt.stub.prov.data.FeatureInfo |
getInstallableFeatureInfo(String featureId,
String featureVersion) |
org.wso2.carbon.feature.mgt.stub.prov.data.Feature[] |
getInstallableFeatures(String location,
boolean groupByCategory,
boolean hideInstalledFeatures,
boolean showOnlyTheLatestFeatures) |
void |
removeRepository(String location) |
void |
updateRepository(String prevLocation,
String prevNickName,
String updatedLocation,
String updatedNickName) |
public RepositoryAdminClient(String backendURL, org.wso2.carbon.automation.engine.context.AutomationContext automationContext) throws org.apache.axis2.AxisFault, XPathExpressionException
org.apache.axis2.AxisFaultXPathExpressionExceptionpublic void addRepository(String repoURL, String nickName, boolean localRepo) throws RemoteException, URISyntaxException
RemoteExceptionURISyntaxExceptionpublic org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] getAllRepositories()
throws Exception
Exceptionpublic org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] getEnabledRepositories()
throws Exception
Exceptionpublic void updateRepository(String prevLocation, String prevNickName, String updatedLocation, String updatedNickName) throws RemoteException
RemoteExceptionpublic void removeRepository(String location) throws RemoteException
RemoteExceptionpublic void enableRepository(String location, String enabled) throws RemoteException
RemoteExceptionpublic org.wso2.carbon.feature.mgt.stub.prov.data.Feature[] getInstallableFeatures(String location, boolean groupByCategory, boolean hideInstalledFeatures, boolean showOnlyTheLatestFeatures) throws RemoteException
RemoteExceptionpublic org.wso2.carbon.feature.mgt.stub.prov.data.FeatureInfo getInstallableFeatureInfo(String featureId, String featureVersion) throws RemoteException
RemoteExceptionCopyright © 2018 WSO2. All rights reserved.