public class LinkedPlugin extends Object implements ILinkedPlugin
Constructor and Description |
---|
LinkedPlugin(Class<?> pluginClass)
Create an instance for a given class.
|
Modifier and Type | Method and Description |
---|---|
void |
chainNext(ILinkedPlugin next)
Chains default output of this node to default input of next.
|
void |
chainNext(ILinkedPlugin next,
String inName)
Chains default output of this node to named input of next.
|
void |
chainNext(String outName,
ILinkedPlugin next)
Chains named output of this node to default input of next.
|
void |
chainNext(String outName,
ILinkedPlugin next,
String inName)
Chains named output of this node to named output of next.
|
void |
chainPrevious(ILinkedPlugin previous)
Chains default input of this node to default output of previous.
|
void |
chainPrevious(ILinkedPlugin previous,
String outName)
Chains default input of this node to named output of previous.
|
void |
chainPrevious(String inName,
ILinkedPlugin previous)
Chains named input of this node to default output of previous.
|
void |
chainPrevious(String inName,
ILinkedPlugin previous,
String outName)
Chains named input of this node to named output of previous.
|
void |
externalPut(ImageWrapper image)
Used to put default image from outside the plugin.
|
void |
externalPut(String inName,
ImageWrapper image)
Used to put named image from outside the plugin.
|
Set<String> |
getInputNames()
Gets the set of annotated input names.
|
IPluginLauncher |
getLauncher()
Gets the plugin launcher for this linked plugin.
|
Set<String> |
getOutputNames()
Gets the set of annotated output names.
|
void |
quit()
Quits processing images.
|
public LinkedPlugin(Class<?> pluginClass)
public Set<String> getInputNames()
getInputNames
in interface ILinkedPlugin
public Set<String> getOutputNames()
getOutputNames
in interface ILinkedPlugin
public void chainNext(ILinkedPlugin next)
chainNext
in interface ILinkedPlugin
public void chainNext(String outName, ILinkedPlugin next)
chainNext
in interface ILinkedPlugin
public void chainNext(ILinkedPlugin next, String inName)
chainNext
in interface ILinkedPlugin
public void chainNext(String outName, ILinkedPlugin next, String inName)
chainNext
in interface ILinkedPlugin
public void chainPrevious(ILinkedPlugin previous)
chainPrevious
in interface ILinkedPlugin
public void chainPrevious(String inName, ILinkedPlugin previous)
chainPrevious
in interface ILinkedPlugin
public void chainPrevious(ILinkedPlugin previous, String outName)
chainPrevious
in interface ILinkedPlugin
public void chainPrevious(String inName, ILinkedPlugin previous, String outName)
chainPrevious
in interface ILinkedPlugin
public void externalPut(ImageWrapper image)
externalPut
in interface ILinkedPlugin
public void externalPut(String inName, ImageWrapper image)
externalPut
in interface ILinkedPlugin
public IPluginLauncher getLauncher()
getLauncher
in interface ILinkedPlugin
public void quit()
quit
in interface ILinkedPlugin
Copyright © 2015–2022 SciJava. All rights reserved.