Class LimitWithDirectory

Object
AnchorBean<FilesProvider>
FilesProvider
FilesProviderWithDirectory
FilesProviderWithDirectoryUnary
LimitWithDirectory

public class LimitWithDirectory extends FilesProviderWithDirectoryUnary
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    setMaxNumItems(int maxNumItems)
     
    protected List<File>
    transform(List<File> source)
     

    Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectoryUnary

    getDirectoryAsPath, getFiles, matchingFilesForDirectory, setFiles

    Methods inherited from class org.anchoranalysis.io.input.bean.files.FilesProviderWithDirectory

    create, getDirectoryAsPathEnsureAbsolute, rootDirectory

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LimitWithDirectory

      public LimitWithDirectory()
  • Method Details

    • transform

      protected List<File> transform(List<File> source) throws FilesProviderException
      Specified by:
      transform in class FilesProviderWithDirectoryUnary
      Throws:
      FilesProviderException
    • getMaxNumItems

      public int getMaxNumItems()
    • setMaxNumItems

      public void setMaxNumItems(int maxNumItems)