public interface RuntimeProvisioningServiceBackend
| Modifier and Type | Method and Description |
|---|---|
void |
destroyRuntime(String runtimeId,
boolean forced)
Destroy an existing Runtime
|
List<RuntimeQueryResultItem> |
executeQuery(RuntimeQuery query)
Executes a query against the runtime system.
|
List<Provider> |
getProviders(Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Get all the registered Providers
|
List<ProviderType> |
getProviderTypes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Get all the registered ProviderTypes
|
List<Runtime> |
getRuntimes(Integer page,
Integer pageSize,
String sort,
boolean sortOrder)
Get All Runtimes
|
String |
newRuntime(RuntimeConfig conf)
Create a new Runtime
|
void |
registerProvider(ProviderConfig conf)
Register a new Provider
|
void |
restartRuntime(String runtimeId)
Restart a given Runtime
|
void |
startRuntime(String runtimeId)
Start a given Runtime
|
void |
stopRuntime(String runtimeId)
Stop a given Runtime
|
void |
unregisterProvider(String name)
Unregister an existing Provider
|
List<ProviderType> getProviderTypes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessExceptionList<Provider> getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessExceptionvoid registerProvider(ProviderConfig conf) throws BusinessException
conf - a ProviderConfig to use for creating the ProviderBusinessExceptionvoid unregisterProvider(String name) throws BusinessException
name - a provider nameBusinessExceptionString newRuntime(RuntimeConfig conf) throws BusinessException
conf - a RuntimeConfig containing the configuration used to create the new RuntimeBusinessExceptionvoid destroyRuntime(String runtimeId, boolean forced) throws BusinessException
runtimeId - the identifier of the runtime to destroyforced - indicates if the runtime must be deleted from the guvnor-ala registries independently of the
connectivity with the external provider. e.g. if it was not possible to connect an external WF where the runtime
is running.BusinessExceptionList<Runtime> getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessExceptionvoid startRuntime(String runtimeId) throws BusinessException
runtimeId - the identifier of the runtime to be startedBusinessExceptionvoid stopRuntime(String runtimeId) throws BusinessException
runtimeId - the identifier of the runtime to be stoppedBusinessExceptionvoid restartRuntime(String runtimeId) throws BusinessException
runtimeId - the identifier of the runtime to be restartedBusinessExceptionList<RuntimeQueryResultItem> executeQuery(RuntimeQuery query) throws BusinessException
query - a runtime query to execute.BusinessException - in case of an internal exceptionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.