T
- input-typepublic abstract class InputManagerUnary<T extends InputFromManager> extends InputManager<T>
InputManager
that delegates to another InputManager
with the
same input-type.Constructor and Description |
---|
InputManagerUnary() |
Modifier and Type | Method and Description |
---|---|
InputManager<T> |
getInput()
The delegate input-manager which will be circumstantially called by the current
input-manager.
|
InputsWithDirectory<T> |
inputs(InputManagerParameters parameters)
Creates a list of inputs given particular parameters.
|
protected abstract InputsWithDirectory<T> |
inputsFromDelegate(InputsWithDirectory<T> fromDelegate,
InputManagerParameters parameters)
Calculates the inputs to return given the inputs from the delegate.
|
void |
setInput(InputManager<T> input)
The delegate input-manager which will be circumstantially called by the current
input-manager.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public InputsWithDirectory<T> inputs(InputManagerParameters parameters) throws InputReadFailedException
InputManager
inputs
in class InputManager<T extends InputFromManager>
parameters
- the parameters.InputReadFailedException
- if inputs cannot be successfully read from the file-system.protected abstract InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) throws InputReadFailedException
fromDelegate
- the inputs from the delegate.parameters
- parameters for determining inputs.InputReadFailedException
- if inputs cannot be successfully read from the file-system.public InputManager<T> getInput()
public void setInput(InputManager<T> input)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.