public interface StreamDeployer
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo |
environmentInfo() |
org.springframework.cloud.deployer.spi.app.AppStatus |
getAppStatus(String appDeploymentId)
Gets runtime application status
|
org.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> |
getAppStatuses(org.springframework.data.domain.Pageable pageable)
Returns application statuses of all deployed applications
|
StreamDeployment |
getStreamInfo(String streamName)
Get stream information (including the deployment properties) for the given stream name.
|
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
streamsStates(List<StreamDefinition> streamDefinitions)
Get the deployment states for a list of stream definitions
|
org.springframework.cloud.deployer.spi.app.DeploymentState |
streamState(String streamName)
Get the deployment state of a stream.
|
org.springframework.cloud.deployer.spi.app.DeploymentState streamState(String streamName)
streamName
- stream nameMap<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> streamsStates(List<StreamDefinition> streamDefinitions)
streamDefinitions
- list of stream definitionsorg.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable) throws ExecutionException, InterruptedException
pageable
- Pagination informationExecutionException
- if the computation threw an exceptionInterruptedException
- if the current thread was interrupted while waitingorg.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String appDeploymentId)
appDeploymentId
- the id of the application instance running in the target runtime environmentorg.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo environmentInfo()
StreamDeployment getStreamInfo(String streamName)
streamName
- the name of the streamCopyright © 2018 Pivotal Software, Inc.. All rights reserved.