public class CloudServicesUtil extends Object
Constructor and Description |
---|
CloudServicesUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
activateAllServices(CloudServicesDescConfig cloudServicesDesc,
int tenantId) |
static void |
activateOriginalAndCompulsoryServices(CloudServicesDescConfig cloudServicesDesc,
String originalService,
int tenantId) |
static boolean |
isCloudServiceActive(String cloudServiceName,
int tenantId) |
static boolean |
isCloudServiceActive(String cloudServiceName,
int tenantId,
org.wso2.carbon.registry.core.session.UserRegistry govRegistry) |
static boolean |
isServiceNameValid(CloudServicesDescConfig cloudServicesDesc,
String cloudServiceName) |
static void |
setCloudServiceActive(boolean active,
String cloudServiceName,
int tenantId,
CloudServiceConfig cloudServiceConfig) |
public static void activateAllServices(CloudServicesDescConfig cloudServicesDesc, int tenantId) throws Exception
Exception
public static void activateOriginalAndCompulsoryServices(CloudServicesDescConfig cloudServicesDesc, String originalService, int tenantId) throws Exception
Exception
public static void setCloudServiceActive(boolean active, String cloudServiceName, int tenantId, CloudServiceConfig cloudServiceConfig) throws Exception
Exception
public static boolean isCloudServiceActive(String cloudServiceName, int tenantId) throws Exception
Exception
public static boolean isCloudServiceActive(String cloudServiceName, int tenantId, org.wso2.carbon.registry.core.session.UserRegistry govRegistry) throws Exception
Exception
public static boolean isServiceNameValid(CloudServicesDescConfig cloudServicesDesc, String cloudServiceName)
Copyright © 2022 WSO2. All rights reserved.