Interface FindChildrenStreamEndPlugin.Handler

All Known Implementing Classes:
UpdateParent
Enclosing class:
FindChildrenStreamEndPlugin

public static interface FindChildrenStreamEndPlugin.Handler
Handle the children.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end(Context context, ddf.catalog.data.Metacard parentMetacard)
    This is called after all the batches have been passed to handle(Context, Metacard, List).
    void
    handle(Context context, ddf.catalog.data.Metacard parent, List<ddf.catalog.data.Metacard> children)
    Handle each batch of child metacards.
  • Method Details

    • handle

      void handle(Context context, ddf.catalog.data.Metacard parent, List<ddf.catalog.data.Metacard> children)
      Handle each batch of child metacards.
      Parameters:
      context - not-null
      parent - the parent metacard, not-null
      children - a batch of children, not-null, can be empty
    • end

      void end(Context context, ddf.catalog.data.Metacard parentMetacard)
      This is called after all the batches have been passed to handle(Context, Metacard, List).