Class PreviewParser

  • All Implemented Interfaces:

    
    public final class PreviewParser
    
                        

    Parser of wanted previous. This class provides a default logic to filter the desired StoryType. It already comes with some default types.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<StoryStep> preview(Iterable<StoryStep> stories, Integer maxSize) Returns the filtered List of StoryStep
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreviewParser

        PreviewParser(Set<Integer> acceptedTypes)
        Parameters:
        acceptedTypes - Set<Int> The number of the accepted types.
    • Method Detail