public interface StreamService
| Modifier and Type | Method and Description |
|---|---|
StreamDefinition |
createStream(String streamName,
String dsl,
boolean deploy)
Create a new stream.
|
void |
deployStream(String name,
Map<String,String> deploymentProperties)
Deploys the stream with the user provided deployment properties.
|
StreamDeployment |
info(String streamName)
Get stream information including the deployment properties etc.
|
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
state(List<StreamDefinition> streamDefinitions)
Retrieve the deployment state for list of stream definitions.
|
void |
undeployStream(String name)
Un-deploys the stream identified by the given stream name.
|
StreamDefinition createStream(String streamName, String dsl, boolean deploy)
streamName - stream namedsl - DSL definition for streamdeploy - if true, the stream is deployed upon creation (default is
false)InvalidStreamDefinitionException - if there are errors in parsing the stream DSL,
resolving the name, or type of applications in the streamvoid deployStream(String name, Map<String,String> deploymentProperties)
name - the name of the streamdeploymentProperties - deployment properties to use as passed in from the client.void undeployStream(String name)
name - the name of the stream to un-deployMap<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> state(List<StreamDefinition> streamDefinitions)
streamDefinitions - the list of Stream definitions to calculate the deployment states.StreamDeployment info(String streamName)
streamName - the name of the streamCopyright © 2018 Pivotal Software, Inc.. All rights reserved.