Class RepositoryAdminClient
- java.lang.Object
-
- org.wso2.carbon.integration.common.clients.RepositoryAdminClient
-
public class RepositoryAdminClient extends Object
-
-
Constructor Summary
Constructors Constructor Description RepositoryAdminClient(String backendURL, org.wso2.carbon.automation.engine.context.AutomationContext automationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRepository(String repoURL, String nickName, boolean localRepo)voidenableRepository(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.FeatureInfogetInstallableFeatureInfo(String featureId, String featureVersion)org.wso2.carbon.feature.mgt.stub.prov.data.Feature[]getInstallableFeatures(String location, boolean groupByCategory, boolean hideInstalledFeatures, boolean showOnlyTheLatestFeatures)voidremoveRepository(String location)voidupdateRepository(String prevLocation, String prevNickName, String updatedLocation, String updatedNickName)
-
-
-
Constructor Detail
-
RepositoryAdminClient
public RepositoryAdminClient(String backendURL, org.wso2.carbon.automation.engine.context.AutomationContext automationContext) throws org.apache.axis2.AxisFault, XPathExpressionException
- Throws:
org.apache.axis2.AxisFaultXPathExpressionException
-
-
Method Detail
-
addRepository
public void addRepository(String repoURL, String nickName, boolean localRepo) throws RemoteException, URISyntaxException
- Throws:
RemoteExceptionURISyntaxException
-
getAllRepositories
public org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] getAllRepositories() throws Exception- Throws:
Exception
-
getEnabledRepositories
public org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[] getEnabledRepositories() throws Exception- Throws:
Exception
-
updateRepository
public void updateRepository(String prevLocation, String prevNickName, String updatedLocation, String updatedNickName) throws RemoteException
- Throws:
RemoteException
-
removeRepository
public void removeRepository(String location) throws RemoteException
- Throws:
RemoteException
-
enableRepository
public void enableRepository(String location, String enabled) throws RemoteException
- Throws:
RemoteException
-
getInstallableFeatures
public org.wso2.carbon.feature.mgt.stub.prov.data.Feature[] getInstallableFeatures(String location, boolean groupByCategory, boolean hideInstalledFeatures, boolean showOnlyTheLatestFeatures) throws RemoteException
- Throws:
RemoteException
-
getInstallableFeatureInfo
public org.wso2.carbon.feature.mgt.stub.prov.data.FeatureInfo getInstallableFeatureInfo(String featureId, String featureVersion) throws RemoteException
- Throws:
RemoteException
-
-