Class MultiInputManager
Manages input for
MultiInput
objects, combining various input sources.-
Constructor Summary
ConstructorsConstructorDescriptionMultiInputManager
(String inputName, InputManager<? extends ProvidesStackInput> input) Creates a newMultiInputManager
with specified input name and input manager. -
Method Summary
Modifier and TypeMethodDescriptionList of dictionaries to append.List of file paths to append.List of histograms to append.List of marks to append.List of marks from annotations (both accepted and rejected) to append.List of marks from annotations (accepted only) to append.List of marks from annotations (rejected only) to append.List of object-collections to append to theMultiInput
.List of additional stacks to append.InputManager
<? extends ProvidesStackInput> getInput()
The input manager for the main stack.The name of the input to be used in theMultiInput
.inputs
(InputManagerParameters parameters) Creates a list of inputs given particular parameters.void
setAppendDictionary
(List<NamedBean<DerivePath>> appendDictionary) List of dictionaries to append.void
setAppendFilePath
(List<NamedBean<DerivePath>> appendFilePath) List of file paths to append.void
setAppendHistogram
(List<NamedBean<DerivePath>> appendHistogram) List of histograms to append.void
setAppendMarks
(List<NamedBean<DerivePath>> appendMarks) List of marks to append.void
setAppendMarksFromAnnotation
(List<NamedBean<DerivePath>> appendMarksFromAnnotation) List of marks from annotations (both accepted and rejected) to append.void
setAppendMarksFromAnnotationAcceptedOnly
(List<NamedBean<DerivePath>> appendMarksFromAnnotationAcceptedOnly) List of marks from annotations (accepted only) to append.void
setAppendMarksFromAnnotationRejectedOnly
(List<NamedBean<DerivePath>> appendMarksFromAnnotationRejectedOnly) List of marks from annotations (rejected only) to append.void
setAppendObjects
(List<NamedBean<DerivePath>> appendObjects) List of object-collections to append to theMultiInput
.void
setAppendStack
(List<NamedBean<DerivePath>> appendStack) List of additional stacks to append.void
setInput
(InputManager<? extends ProvidesStackInput> input) The input manager for the main stack.void
setInputName
(String inputName) The name of the input to be used in theMultiInput
.Methods inherited from class org.anchoranalysis.image.io.bean.stack.reader.InputManagerWithStackReader
getStackReader, setStackReader
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MultiInputManager
Creates a newMultiInputManager
with specified input name and input manager.- Parameters:
inputName
- the name of the inputinput
- the input manager for the main stack
-
MultiInputManager
public MultiInputManager()
-
-
Method Details
-
inputs
public InputsWithDirectory<MultiInput> inputs(InputManagerParameters parameters) throws InputReadFailedException Description copied from class:InputManager
Creates a list of inputs given particular parameters.- Specified by:
inputs
in classInputManager<MultiInput>
- Parameters:
parameters
- the parameters.- Returns:
- the list of inputs, together with any associated parent directory.
- Throws:
InputReadFailedException
- if inputs cannot be successfully read from the file-system.
-
getInputName
The name of the input to be used in theMultiInput
. -
setInputName
The name of the input to be used in theMultiInput
. -
getInput
The input manager for the main stack. -
setInput
The input manager for the main stack. -
getAppendStack
List of additional stacks to append. -
setAppendStack
List of additional stacks to append. -
getAppendMarks
List of marks to append. -
setAppendMarks
List of marks to append. -
getAppendMarksFromAnnotation
List of marks from annotations (both accepted and rejected) to append. -
setAppendMarksFromAnnotation
List of marks from annotations (both accepted and rejected) to append. -
getAppendMarksFromAnnotationAcceptedOnly
List of marks from annotations (accepted only) to append. -
setAppendMarksFromAnnotationAcceptedOnly
public void setAppendMarksFromAnnotationAcceptedOnly(List<NamedBean<DerivePath>> appendMarksFromAnnotationAcceptedOnly) List of marks from annotations (accepted only) to append. -
getAppendMarksFromAnnotationRejectedOnly
List of marks from annotations (rejected only) to append. -
setAppendMarksFromAnnotationRejectedOnly
public void setAppendMarksFromAnnotationRejectedOnly(List<NamedBean<DerivePath>> appendMarksFromAnnotationRejectedOnly) List of marks from annotations (rejected only) to append. -
getAppendObjects
List of object-collections to append to theMultiInput
. -
setAppendObjects
List of object-collections to append to theMultiInput
. -
getAppendDictionary
List of dictionaries to append. -
setAppendDictionary
List of dictionaries to append. -
getAppendHistogram
List of histograms to append. -
setAppendHistogram
List of histograms to append. -
getAppendFilePath
List of file paths to append. -
setAppendFilePath
List of file paths to append.
-