public class AppDeployerStreamDeployer extends Object implements StreamDeployer
Constructor and Description |
---|
AppDeployerStreamDeployer(org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer,
DeploymentIdRepository deploymentIdRepository,
StreamDefinitionRepository streamDefinitionRepository,
StreamDeploymentRepository streamDeploymentRepository) |
Modifier and Type | Method and Description |
---|---|
String |
calculateStreamState(String streamName) |
void |
deployStream(StreamDeploymentRequest streamDeploymentRequest) |
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
state(List<StreamDefinition> streamDefinitions) |
void |
undeployStream(String streamName)
Undeploys the stream identified by the given stream name.
|
public AppDeployerStreamDeployer(org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer, DeploymentIdRepository deploymentIdRepository, StreamDefinitionRepository streamDefinitionRepository, StreamDeploymentRepository streamDeploymentRepository)
public void deployStream(StreamDeploymentRequest streamDeploymentRequest)
deployStream
in interface StreamDeployer
public void undeployStream(String streamName)
StreamDeployer
undeployStream
in interface StreamDeployer
streamName
- the name of the stream to un-deploypublic String calculateStreamState(String streamName)
calculateStreamState
in interface StreamDeployer
public Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> state(List<StreamDefinition> streamDefinitions)
state
in interface StreamDeployer
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.