public class Limit extends FilesProviderUnary
  • Constructor Details

    • Limit

      public Limit()
  • Method Details

    • transform

      protected List<File> transform(List<File> source, boolean debugMode)
      Description copied from class: FilesProviderUnary
      Transform an existing collection of files.

      Note that the incoming collection of files may be modified, and can no longer be used in its original form after this method call.

      Specified by:
      transform in class FilesProviderUnary
      Parameters:
      source - the incoming files (which may be consumed and modified).
      debugMode - whether we are executing in debug-mode or not
      Returns:
      the transformed (outgoing) files.
    • getMaxNumberItems

      public int getMaxNumberItems()
    • setMaxNumberItems

      public void setMaxNumberItems(int maxNumberItems)