public class DefaultMutableModule extends AbstractModule implements MutableModule
MutableModule implementation, intended for subclassing.| Constructor and Description |
|---|
DefaultMutableModule() |
DefaultMutableModule(MutableModuleInfo info) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(ModuleItem<?> input)
Adds an input to the list.
|
<T> MutableModuleItem<T> |
addInput(String name,
Class<T> type)
Adds an input to the list.
|
void |
addOutput(ModuleItem<?> output)
Adds an output to the list.
|
<T> MutableModuleItem<T> |
addOutput(String name,
Class<T> type)
Adds an output to the list.
|
MutableModuleInfo |
getInfo()
Gets metadata about this module.
|
void |
removeInput(ModuleItem<?> input)
Removes an input from the list.
|
void |
removeOutput(ModuleItem<?> output)
Removes an output from the list.
|
void |
run() |
cancel, getDelegateObject, getInput, getInputs, getOutput, getOutputs, initialize, isResolved, preview, setInput, setInputs, setOutput, setOutputs, setResolvedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, getDelegateObject, getInput, getInputs, getOutput, getOutputs, initialize, isResolved, preview, setInput, setInputs, setOutput, setOutputs, setResolvedpublic DefaultMutableModule()
public DefaultMutableModule(MutableModuleInfo info)
public <T> MutableModuleItem<T> addInput(String name, Class<T> type)
MutableModuleaddInput in interface MutableModulepublic void addInput(ModuleItem<?> input)
MutableModuleaddInput in interface MutableModulepublic <T> MutableModuleItem<T> addOutput(String name, Class<T> type)
MutableModuleaddOutput in interface MutableModulepublic void addOutput(ModuleItem<?> output)
MutableModuleaddOutput in interface MutableModulepublic void removeInput(ModuleItem<?> input)
MutableModuleremoveInput in interface MutableModulepublic void removeOutput(ModuleItem<?> output)
MutableModuleremoveOutput in interface MutableModulepublic MutableModuleInfo getInfo()
ModulegetInfo in interface ModulegetInfo in interface MutableModuleCopyright © 2009–2016 SciJava. All rights reserved.