public class SingleImageJAlgorithmRunConfiguration extends Object implements JIPipeValidatable
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(JIPipeProgressInfo progressInfo)
Extracts algorithm output into ImageJ.
|
JIPipeGraphNode |
getAlgorithm() |
EventBus |
getEventBus() |
Map<String,ImageJDataImportOperation> |
getInputSlotImporters() |
String |
getInputsString() |
int |
getNumThreads() |
Map<String,ImageJDataExportOperation> |
getOutputSlotExporters() |
String |
getOutputsString() |
String |
getParametersString() |
void |
importInputsFromImageJ(JIPipeProgressInfo progressInfo)
Pushes selected ImageJ data into the algorithm input slots
|
void |
onAlgorithmSlotsChanged(JIPipeGraph.NodeSlotsChangedEvent event)
Triggered when the algorithm's slots are changed
|
void |
reportValidity(JIPipeIssueReport 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 int getNumThreads()
public void setNumThreads(int numThreads)
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
report
- the report to be added topublic JIPipeGraphNode getAlgorithm()
public Map<String,ImageJDataImportOperation> getInputSlotImporters()
public Map<String,ImageJDataExportOperation> getOutputSlotExporters()
public void importInputsFromImageJ(JIPipeProgressInfo progressInfo)
progressInfo
- the progress infopublic void exportOutputToImageJ(JIPipeProgressInfo progressInfo)
progressInfo
- the progress infopublic void onAlgorithmSlotsChanged(JIPipeGraph.NodeSlotsChangedEvent event)
event
- generated eventpublic EventBus getEventBus()
public String getParametersString()
public String getInputsString()
public String getOutputsString()
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.