Class BranchIfDebug<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.BranchIfDebug<T>
Type Parameters:
T - input type

public class BranchIfDebug<T extends org.anchoranalysis.io.input.InputFromManager>
extends org.anchoranalysis.io.input.bean.InputManagerUnary<T>
Uses one input-manager normally, but a different one if in debug mode.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    BranchIfDebug()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.io.input.bean.InputManager<T> getInputDebug()
    If defined, this provides an input to the manager when in debug-mode, rather than than otherwise inputs.
    protected org.anchoranalysis.io.input.InputsWithDirectory<T> inputsFromDelegate​(org.anchoranalysis.io.input.InputsWithDirectory<T> fromDelegate, org.anchoranalysis.io.input.bean.InputManagerParameters parameters)  
    void setInputDebug​(org.anchoranalysis.io.input.bean.InputManager<T> inputDebug)
    If defined, this provides an input to the manager when in debug-mode, rather than than otherwise inputs.

    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
    • getInputDebug

      public org.anchoranalysis.io.input.bean.InputManager<T> getInputDebug()
      If defined, this provides an input to the manager when in debug-mode, rather than than otherwise inputs.

      Note that only the first item is ever read from this input-manager.

    • setInputDebug

      public void setInputDebug​(org.anchoranalysis.io.input.bean.InputManager<T> inputDebug)
      If defined, this provides an input to the manager when in debug-mode, rather than than otherwise inputs.

      Note that only the first item is ever read from this input-manager.