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
BusinessException
List<Provider> getProviders(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessException
void registerProvider(ProviderConfig conf) throws BusinessException
conf
- a ProviderConfig to use for creating the ProviderBusinessException
void unregisterProvider(String name) throws BusinessException
name
- a provider nameBusinessException
String newRuntime(RuntimeConfig conf) throws BusinessException
conf
- a RuntimeConfig containing the configuration used to create the new RuntimeBusinessException
void 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.BusinessException
List<Runtime> getRuntimes(Integer page, Integer pageSize, String sort, boolean sortOrder) throws BusinessException
BusinessException
void startRuntime(String runtimeId) throws BusinessException
runtimeId
- the identifier of the runtime to be startedBusinessException
void stopRuntime(String runtimeId) throws BusinessException
runtimeId
- the identifier of the runtime to be stoppedBusinessException
void restartRuntime(String runtimeId) throws BusinessException
runtimeId
- the identifier of the runtime to be restartedBusinessException
List<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.