Class RemoveMatching

Object
AnchorBean<FilesProvider>
FilesProvider
FilesProviderUnary
RemoveMatching

public class RemoveMatching extends FilesProviderUnary
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    RegEx
    If a path matches a regular expression it is removed.
    void
    setRegEx(RegEx regEx)
    If a path matches a regular expression it is removed.
    protected List<File>
    transform(List<File> source, boolean debugMode)
     

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

    create, getFiles, rootDirectory, setFiles

    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

    • RemoveMatching

      public RemoveMatching()
  • Method Details

    • transform

      protected List<File> transform(List<File> source, boolean debugMode)
      Specified by:
      transform in class FilesProviderUnary
    • getRegEx

      public RegEx getRegEx()
      If a path matches a regular expression it is removed.
    • setRegEx

      public void setRegEx(RegEx regEx)
      If a path matches a regular expression it is removed.