Class FilterDescriptiveName<T extends InputFromManager>

Object
AnchorBean<InputManager<T>>
InputManager<T>
InputManagerUnary<T>
FilterDescriptiveName<T>
Type Parameters:
T - input-type

public class FilterDescriptiveName<T extends InputFromManager> extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    A descriptive-name must contain (case-sensitive) this string.
    A descriptive-name must be exactly equal to (case-sensitive) this string.
    protected InputsWithDirectory<T>
    inputsFromDelegate(InputsWithDirectory<T> fromDelegate, 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

    • FilterDescriptiveName

      public FilterDescriptiveName()
  • Method Details

    • inputsFromDelegate

      protected InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) throws InputReadFailedException
      Specified by:
      inputsFromDelegate in class InputManagerUnary<T extends InputFromManager>
      Throws:
      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.