@ApplicationScoped public class RuntimeProvisioningServiceBackendImpl extends Object implements RuntimeProvisioningServiceBackend
Constructor and Description |
---|
RuntimeProvisioningServiceBackendImpl() |
RuntimeProvisioningServiceBackendImpl(RuntimeProvisioningService runtimeProvisioningService) |
Modifier and Type | Method and Description |
---|---|
void |
destroyRuntime(String runtimeId,
boolean forced) |
List<RuntimeQueryResultItem> |
executeQuery(RuntimeQuery query) |
List<Provider> |
getProviders(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
List<ProviderType> |
getProviderTypes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
List<Runtime> |
getRuntimes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder) |
String |
newRuntime(RuntimeConfig conf) |
void |
registerProvider(ProviderConfig conf) |
void |
restartRuntime(String runtimeId) |
void |
startRuntime(String runtimeId) |
void |
stopRuntime(String runtimeId) |
void |
unregisterProvider(String name) |
public RuntimeProvisioningServiceBackendImpl()
@Inject public RuntimeProvisioningServiceBackendImpl(RuntimeProvisioningService runtimeProvisioningService)
public List<ProviderType> getProviderTypes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getProviderTypes
in interface RuntimeProvisioningServiceBackend
BusinessException
public List<Provider> getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getProviders
in interface RuntimeProvisioningServiceBackend
BusinessException
public List<Runtime> getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
getRuntimes
in interface RuntimeProvisioningServiceBackend
BusinessException
public void registerProvider(ProviderConfig conf) throws BusinessException
registerProvider
in interface RuntimeProvisioningServiceBackend
BusinessException
public void unregisterProvider(String name) throws BusinessException
unregisterProvider
in interface RuntimeProvisioningServiceBackend
BusinessException
public String newRuntime(RuntimeConfig conf) throws BusinessException
newRuntime
in interface RuntimeProvisioningServiceBackend
BusinessException
public void destroyRuntime(String runtimeId, boolean forced) throws BusinessException
destroyRuntime
in interface RuntimeProvisioningServiceBackend
BusinessException
public void startRuntime(String runtimeId) throws BusinessException
startRuntime
in interface RuntimeProvisioningServiceBackend
BusinessException
public void stopRuntime(String runtimeId) throws BusinessException
stopRuntime
in interface RuntimeProvisioningServiceBackend
BusinessException
public void restartRuntime(String runtimeId) throws BusinessException
restartRuntime
in interface RuntimeProvisioningServiceBackend
BusinessException
public List<RuntimeQueryResultItem> executeQuery(RuntimeQuery query) throws BusinessException
executeQuery
in interface RuntimeProvisioningServiceBackend
BusinessException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.