Class RuntimeProvisioningServiceBackendImpl
- java.lang.Object
-
- org.guvnor.ala.services.backend.impl.RuntimeProvisioningServiceBackendImpl
-
- All Implemented Interfaces:
org.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend
@ApplicationScoped public class RuntimeProvisioningServiceBackendImpl extends Object implements org.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend
-
-
Constructor Summary
Constructors Constructor Description RuntimeProvisioningServiceBackendImpl()RuntimeProvisioningServiceBackendImpl(org.guvnor.ala.services.api.RuntimeProvisioningService runtimeProvisioningService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroyRuntime(String runtimeId, boolean forced)List<org.guvnor.ala.services.api.RuntimeQueryResultItem>executeQuery(org.guvnor.ala.services.api.RuntimeQuery query)List<org.guvnor.ala.runtime.providers.Provider>getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder)List<org.guvnor.ala.runtime.providers.ProviderType>getProviderTypes(Integer page, Integer pageSize, String sort, boolean sortOrder)List<org.guvnor.ala.runtime.Runtime>getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder)StringnewRuntime(org.guvnor.ala.config.RuntimeConfig conf)voidregisterProvider(org.guvnor.ala.config.ProviderConfig conf)voidrestartRuntime(String runtimeId)voidstartRuntime(String runtimeId)voidstopRuntime(String runtimeId)voidunregisterProvider(String name)
-
-
-
Method Detail
-
getProviderTypes
public List<org.guvnor.ala.runtime.providers.ProviderType> getProviderTypes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
getProviderTypesin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
getProviders
public List<org.guvnor.ala.runtime.providers.Provider> getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
getProvidersin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
getRuntimes
public List<org.guvnor.ala.runtime.Runtime> getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
getRuntimesin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
registerProvider
public void registerProvider(org.guvnor.ala.config.ProviderConfig conf) throws org.guvnor.ala.services.exceptions.BusinessException- Specified by:
registerProviderin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
unregisterProvider
public void unregisterProvider(String name) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
unregisterProviderin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
newRuntime
public String newRuntime(org.guvnor.ala.config.RuntimeConfig conf) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
newRuntimein interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
destroyRuntime
public void destroyRuntime(String runtimeId, boolean forced) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
destroyRuntimein interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
startRuntime
public void startRuntime(String runtimeId) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
startRuntimein interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
stopRuntime
public void stopRuntime(String runtimeId) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
stopRuntimein interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
restartRuntime
public void restartRuntime(String runtimeId) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
restartRuntimein interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
executeQuery
public List<org.guvnor.ala.services.api.RuntimeQueryResultItem> executeQuery(org.guvnor.ala.services.api.RuntimeQuery query) throws org.guvnor.ala.services.exceptions.BusinessException
- Specified by:
executeQueryin interfaceorg.guvnor.ala.services.api.backend.RuntimeProvisioningServiceBackend- Throws:
org.guvnor.ala.services.exceptions.BusinessException
-
-