public class OpInfo extends Object implements Comparable<OpInfo>
Op
implementation.CommandInfo
,
OpEnvironment.ops()
Constructor and Description |
---|
OpInfo(Class<? extends Op> opClass) |
OpInfo(CommandInfo cInfo) |
Modifier and Type | Method and Description |
---|---|
CommandInfo |
cInfo()
Gets the associated
CommandInfo metadata. |
int |
compareTo(OpInfo that) |
boolean |
equals(Object o) |
String[] |
getAliases()
Gets the fully qualified aliases.
|
String |
getName()
Gets the fully qualified name, with namespace.
|
String |
getNamespace()
Gets the namespace.
|
String |
getSimpleName()
Gets the name without namespace prefix.
|
Class<? extends Op> |
getType()
Gets the type of op, as specified via
@Plugin(type = <type>) ). |
int |
hashCode() |
List<ModuleItem<?>> |
inputs()
Gets the op's input parameters.
|
boolean |
isNamed()
Gets whether the op has a name.
|
boolean |
isNamespace(String namespace)
Gets whether the op belongs to the given namespace.
|
boolean |
nameMatches(String name)
Gets whether the given name matches this op.
|
List<ModuleItem<?>> |
outputs()
Gets the op's output parameters.
|
String |
toString() |
public OpInfo(CommandInfo cInfo)
public CommandInfo cInfo()
CommandInfo
metadata.public List<ModuleItem<?>> inputs()
public List<ModuleItem<?>> outputs()
public boolean isNamed()
public String getName()
public String getSimpleName()
public boolean nameMatches(String name)
public String[] getAliases()
public String getNamespace()
public boolean isNamespace(String namespace)
public Class<? extends Op> getType()
@Plugin(type = <type>)
).public int compareTo(OpInfo that)
compareTo
in interface Comparable<OpInfo>
Copyright © 2014–2022 ImageJ. All rights reserved.