public interface RuntimeService
Modifier and Type | Method and Description |
---|---|
PipelineExecutionTraceKey |
createRuntime(ProviderKey providerKey,
String runtimeName,
PipelineKey pipelineKey,
Map<String,String> params)
Creates a runtime by associating it with a given provider.
|
void |
deletePipelineExecution(PipelineExecutionTraceKey pipelineExecutionTraceKey)
Deletes a pipeline execution trace from the system.
|
void |
deleteRuntime(RuntimeKey runtimeKey,
boolean forced)
Deletes a runtime.
|
Collection<PipelineKey> |
getPipelines(ProviderTypeKey providerTypeKey)
Gests the pipeline names for the pipelines associated to a given provider type.
|
RuntimeListItem |
getRuntimeItem(PipelineExecutionTraceKey pipelineExecutionTraceKey)
Gets the runtime information for a given pipeline execution.
|
RuntimeListItem |
getRuntimeItem(RuntimeKey runtimeKey)
Gets the runtime information for a given runtime.
|
Collection<RuntimeListItem> |
getRuntimeItems(ProviderKey providerKey)
Gets the information about the runtimes associated to a given provider.
|
void |
startRuntime(RuntimeKey runtimeKey)
Starts a runtime.
|
void |
stopPipelineExecution(PipelineExecutionTraceKey pipelineExecutionTraceKey)
Stops a running pipeline execution.
|
void |
stopRuntime(RuntimeKey runtimeKey)
Stops a runtime.
|
Collection<RuntimeListItem> getRuntimeItems(ProviderKey providerKey)
providerKey
- a provider que for getting the runtimes.RuntimeListItem getRuntimeItem(PipelineExecutionTraceKey pipelineExecutionTraceKey)
pipelineExecutionTraceKey
- the identifier for a pipeline execution.RuntimeListItem getRuntimeItem(RuntimeKey runtimeKey)
runtimeKey
- the identifier for a runtime.Collection<PipelineKey> getPipelines(ProviderTypeKey providerTypeKey)
providerTypeKey
- a provider type key.PipelineExecutionTraceKey createRuntime(ProviderKey providerKey, String runtimeName, PipelineKey pipelineKey, Map<String,String> params)
providerKey
- the provider key for creating the runtime.runtimeName
- a name for the runtime to be created.pipelineKey
- the key of a pipeline to use for performing all the required operations for building the
runtime.void stopPipelineExecution(PipelineExecutionTraceKey pipelineExecutionTraceKey)
pipelineExecutionTraceKey
- identifier for the pipeline execution.void deletePipelineExecution(PipelineExecutionTraceKey pipelineExecutionTraceKey)
pipelineExecutionTraceKey
- identifier of the pipeline execution.void stopRuntime(RuntimeKey runtimeKey)
runtimeKey
- the key of the runtime to stop.void startRuntime(RuntimeKey runtimeKey)
runtimeKey
- the key of the runtime to start.void deleteRuntime(RuntimeKey runtimeKey, boolean forced)
runtimeKey
- the key of the runtime to delete.forced
- 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.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.