Class ItemCollector

  • All Implemented Interfaces:
    io.annot8.core.components.Annot8Component, io.annot8.core.components.Processor, io.annot8.core.helpers.WithProcessItem, java.lang.AutoCloseable


    public class ItemCollector
    extends java.lang.Object
    implements io.annot8.core.components.Processor
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemCollector​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear​()  
      java.util.List<io.annot8.core.data.Item> getItems​()  
      io.annot8.core.components.responses.ProcessorResponse process​(io.annot8.core.data.Item item)  
      • Methods inherited from interface io.annot8.core.components.Annot8Component

        buildCapabilities, close, configure
      • Methods inherited from class java.lang.Object

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

      • ItemCollector

        public ItemCollector​()
    • Method Detail

      • process

        public io.annot8.core.components.responses.ProcessorResponse process​(io.annot8.core.data.Item item)
        Specified by:
        process in interface io.annot8.core.helpers.WithProcessItem
      • getItems

        public java.util.List<io.annot8.core.data.Item> getItems​()
      • clear

        public void clear​()