Class RepositoryAdminClient
java.lang.Object
org.wso2.carbon.integration.common.clients.RepositoryAdminClient
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryAdminClient(String backendURL, org.wso2.carbon.automation.engine.context.AutomationContext automationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRepository(String repoURL, String nickName, boolean localRepo) voidenableRepository(String location, String enabled) org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[]org.wso2.carbon.feature.mgt.stub.prov.data.RepositoryInfo[]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 Details
-
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 Details
-
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
- Throws:
RemoteException
-
enableRepository
- 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
-