public interface StatefulActionToParticleGroupsMapper<T extends Action>
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<ParticleGroup> | mapToParticleGroups(T action,
                   java.util.stream.Stream<Particle> store)Creates new particle groups to be added to an atom given a high level
 action and application state | 
| java.util.Set<ShardedParticleStateId> | requiredState(T action)Retrieves the necessary application state to be used in creating new particles
 given a high level action. | 
java.util.Set<ShardedParticleStateId> requiredState(T action)
action - the action to get the required context aboutjava.util.List<ParticleGroup> mapToParticleGroups(T action, java.util.stream.Stream<Particle> store) throws StageActionException
action - the action to mapstore - particles as requested by requiredState()StageActionException