Class StreamDeployerUtil
java.lang.Object
org.springframework.cloud.dataflow.server.stream.StreamDeployerUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.cloud.deployer.spi.app.DeploymentState
aggregateState
(Set<org.springframework.cloud.deployer.spi.app.DeploymentState> states) Aggregate the set of app states into a single state for a stream.
-
Constructor Details
-
StreamDeployerUtil
public StreamDeployerUtil()
-
-
Method Details
-
aggregateState
public static org.springframework.cloud.deployer.spi.app.DeploymentState aggregateState(Set<org.springframework.cloud.deployer.spi.app.DeploymentState> states) Aggregate the set of app states into a single state for a stream.- Parameters:
states
- set of states for apps of a stream- Returns:
- the stream state based on app states
-