Class BranchIfDebug<T extends InputFromManager>
Object
AnchorBean<InputManager<T>>
InputManager<T>
InputManagerUnary<T>
BranchIfDebug<T>
- Type Parameters:
T- input type
public class BranchIfDebug<T extends InputFromManager>
extends InputManagerUnary<T>
Uses one input-manager normally, but a different one if in debug mode.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInputManager<T> If defined, this provides an input to the manager when in debug-mode, rather than than otherwiseinputs.protected InputsWithDirectory<T> inputsFromDelegate(InputsWithDirectory<T> fromDelegate, InputManagerParameters parameters) voidsetInputDebug(InputManager<T> inputDebug) If defined, this provides an input to the manager when in debug-mode, rather than than otherwiseinputs.Methods inherited from class org.anchoranalysis.io.input.bean.InputManagerUnary
getInput, inputs, setInputMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
BranchIfDebug
public BranchIfDebug()
-
-
Method Details
-
inputsFromDelegate
-
getInputDebug
If defined, this provides an input to the manager when in debug-mode, rather than than otherwiseinputs.Note that only the first item is ever read from this input-manager.
-
setInputDebug
If defined, this provides an input to the manager when in debug-mode, rather than than otherwiseinputs.Note that only the first item is ever read from this input-manager.
-