public class SingleImageJAlgorithmRunConfiguration extends Object implements JIPipeValidatable, JIPipeGraphNode.NodeSlotsChangedEventListener
Constructor and Description |
---|
SingleImageJAlgorithmRunConfiguration(JIPipeGraphNode algorithm) |
SingleImageJAlgorithmRunConfiguration(String nodeId,
String parameters,
String inputs,
String outputs,
int threads) |
Modifier and Type | Method and Description |
---|---|
void |
exportOutputToImageJ(JIPipeGraphNode algorithm,
JIPipeProgressInfo progressInfo)
Extracts algorithm output into ImageJ.
|
JIPipeGraphNode |
getAlgorithm() |
Map<String,ImageJDataImportOperation> |
getInputSlotImporters() |
String |
getInputsString() |
JIPipeGraphNode.NodeSlotsChangedEventEmitter |
getNodeSlotsChangedEventEmitter() |
int |
getNumThreads() |
Map<String,ImageJDataExportOperation> |
getOutputSlotExporters() |
String |
getOutputsString() |
String |
getParametersString() |
void |
importInputsFromImageJ(JIPipeGraphNode algorithm,
JIPipeProgressInfo progressInfo)
Pushes selected ImageJ data into the algorithm input slots
|
void |
onNodeSlotsChanged(JIPipeGraphNode.NodeSlotsChangedEvent event) |
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
void |
setNumThreads(int numThreads) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
public SingleImageJAlgorithmRunConfiguration(String nodeId, String parameters, String inputs, String outputs, int threads)
public SingleImageJAlgorithmRunConfiguration(JIPipeGraphNode algorithm)
algorithm
- the algorithm to be runpublic JIPipeGraphNode.NodeSlotsChangedEventEmitter getNodeSlotsChangedEventEmitter()
public int getNumThreads()
public void setNumThreads(int numThreads)
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportContext
- the report contextreport
- the report to be added topublic JIPipeGraphNode getAlgorithm()
public Map<String,ImageJDataImportOperation> getInputSlotImporters()
public Map<String,ImageJDataExportOperation> getOutputSlotExporters()
public void importInputsFromImageJ(JIPipeGraphNode algorithm, JIPipeProgressInfo progressInfo)
progressInfo
- the progress infopublic void exportOutputToImageJ(JIPipeGraphNode algorithm, JIPipeProgressInfo progressInfo)
progressInfo
- the progress infopublic String getParametersString()
public String getInputsString()
public String getOutputsString()
public void onNodeSlotsChanged(JIPipeGraphNode.NodeSlotsChangedEvent event)
onNodeSlotsChanged
in interface JIPipeGraphNode.NodeSlotsChangedEventListener
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.