T
- input-typepublic class FilterDescriptiveName<T extends InputFromManager> extends InputManagerUnary<T>
Either or both equals or contains conditions are possible.
Constructor and Description |
---|
FilterDescriptiveName() |
Modifier and Type | Method and 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 InputsWithDirectory<T> |
inputsFromDelegate(InputsWithDirectory<T> fromDelegate,
InputManagerParameters parameters)
Calculates the inputs to return given the inputs from the delegate.
|
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.
|
getInput, inputs, setInput
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
protected InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) throws InputReadFailedException
InputManagerUnary
inputsFromDelegate
in class InputManagerUnary<T extends InputFromManager>
fromDelegate
- the inputs from the delegate.parameters
- parameters for determining inputs.InputReadFailedException
- if inputs cannot be successfully read from the file-system.public String getEquals()
public void setEquals(String equals)
public String getContains()
public void setContains(String contains)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.