Class FilterDescriptiveName<T extends org.anchoranalysis.io.input.InputFromManager>

Object
org.anchoranalysis.bean.AnchorBean<org.anchoranalysis.io.input.bean.InputManager<T>>
org.anchoranalysis.io.input.bean.InputManager<T>
org.anchoranalysis.io.input.bean.InputManagerUnary<T>
org.anchoranalysis.plugin.io.bean.input.filter.FilterDescriptiveName<T>
Type Parameters:
T - input-type

public class FilterDescriptiveName<T extends org.anchoranalysis.io.input.InputFromManager>
extends org.anchoranalysis.io.input.bean.InputManagerUnary<T>
Filters all the input objects for only those with certain types of descriptive-names.

Either or both equals or contains conditions are possible.

Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    FilterDescriptiveName()  
  • Method Summary

    Modifier and Type Method Description
    String getContains()
    A descriptive-name must contain (case-sensitive) this string.
    String getEquals()
    A descriptive-name must be exactly equal to (case-sensitive) this string.
    protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate​(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters)  
    void setContains​(String contains)
    A descriptive-name must contain (case-sensitive) this string.
    void setEquals​(String equals)
    A descriptive-name must be exactly equal to (case-sensitive) this string.

    Methods inherited from class org.anchoranalysis.io.input.bean.InputManagerUnary

    getInput, inputs, setInput

    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

    • inputsFromDelegate

      protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate​(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters) throws org.anchoranalysis.io.input.InputReadFailedException
      Specified by:
      inputsFromDelegate in class org.anchoranalysis.io.input.bean.InputManagerUnary<T extends org.anchoranalysis.io.input.InputFromManager>
      Throws:
      org.anchoranalysis.io.input.InputReadFailedException
    • getEquals

      public String getEquals()
      A descriptive-name must be exactly equal to (case-sensitive) this string. If empty, disabled.
    • setEquals

      public void setEquals​(String equals)
      A descriptive-name must be exactly equal to (case-sensitive) this string. If empty, disabled.
    • getContains

      public String getContains()
      A descriptive-name must contain (case-sensitive) this string. If empty, disabled.
    • setContains

      public void setContains​(String contains)
      A descriptive-name must contain (case-sensitive) this string. If empty, disabled.