Project: springxd
Issue XD-1844: Interface to capture required data for state calculation
When the state of all the individual modules for a stream are collected, these states need to be examined in order to determine what the overall stream state is. These should be fed into an interface that can potentially be pluggable to handle all of the edge cases/scenarios that may arise. One possibility is: {noformat} public interface DeploymentUnitStateCalculator {	DeploymentUnit.State calculate(DeploymentUnit deploymentUnit,	ModuleDeploymentPropertiesProvider provider,	Collection moduleStates); } {noformat}
Story points: 4