Package io.molr.commons.domain
Interface MissionRepresentation
-
- All Known Implementing Classes:
ImmutableMissionRepresentation
public interface MissionRepresentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Set<Block>
allBlocks()
com.google.common.collect.ListMultimap<Block,BlockAttribute>
blockAttributes()
Container to augment blocks with one or multiple attributes.default Optional<Block>
blockOfId(String id)
List<Block>
childrenOf(Block block)
boolean
isLeaf(Block block)
Optional<Block>
parentOf(Block block)
com.google.common.collect.ListMultimap<Block,Block>
parentsToChildren()
Block
rootBlock()
-
-
-
Method Detail
-
rootBlock
Block rootBlock()
-
isLeaf
boolean isLeaf(Block block)
-
blockAttributes
com.google.common.collect.ListMultimap<Block,BlockAttribute> blockAttributes()
Container to augment blocks with one or multiple attributes.- Returns:
- attribute lists mapped by blocks
-
-