Class RemoveMatching

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.files.FilesProvider>
org.anchoranalysis.io.input.bean.files.FilesProvider
org.anchoranalysis.io.input.bean.files.FilesProviderUnary
org.anchoranalysis.plugin.io.bean.file.provider.RemoveMatching

public class RemoveMatching
extends org.anchoranalysis.io.input.bean.files.FilesProviderUnary
  • Constructor Summary

    Constructors 
    Constructor Description
    RemoveMatching()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.bean.shared.regex.RegEx getRegEx()
    If a path matches a regular expression it is removed.
    void setRegEx​(org.anchoranalysis.bean.shared.regex.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

  • Method Details

    • transform

      protected List<File> transform​(List<File> source, boolean debugMode)
      Specified by:
      transform in class org.anchoranalysis.io.input.bean.files.FilesProviderUnary
    • getRegEx

      public org.anchoranalysis.bean.shared.regex.RegEx getRegEx()
      If a path matches a regular expression it is removed.
    • setRegEx

      public void setRegEx​(org.anchoranalysis.bean.shared.regex.RegEx regEx)
      If a path matches a regular expression it is removed.