- java.lang.Object
-
- org.scijava.ops.engine.yaml.impl.AbstractYAMLOpInfo
-
- org.scijava.ops.engine.yaml.impl.YAMLOpClassInfo
-
- All Implemented Interfaces:
Comparable<OpInfo>,OpInfo
public class YAMLOpClassInfo extends AbstractYAMLOpInfo
- Author:
- Gabriel Selzer
-
-
Field Summary
-
Fields inherited from class org.scijava.ops.engine.yaml.impl.AbstractYAMLOpInfo
description, hints, identifier, names, priority, version, yaml
-
Fields inherited from interface org.scijava.ops.api.OpInfo
IMPL_DECLARATION
-
-
Constructor Summary
Constructors Constructor Description YAMLOpClassInfo(Map<String,Object> yaml, String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructInstance<?>createOpInstance(List<?> dependencies)AnnotatedElementgetAnnotationBearer()Stringid()For aClass, we define the implementation as the concatenation of: The fully qualified name of the class The version of the class containing the field, with a preceding@StringimplementationName()TypeopType()Structstruct()-
Methods inherited from class org.scijava.ops.engine.yaml.impl.AbstractYAMLOpInfo
declaredHints, description, equals, hashCode, names, parseNames, parsePriority, priority, toString, version
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.ops.api.OpInfo
compareTo, inputs, inputTypes, output, outputs, outputType
-
-
-
-
Method Detail
-
opType
public Type opType()
-
struct
public Struct struct()
- Specified by:
structin interfaceOpInfo- Specified by:
structin classAbstractYAMLOpInfo
-
implementationName
public String implementationName()
-
getAnnotationBearer
public AnnotatedElement getAnnotationBearer()
-
id
public String id()
For aClass, we define the implementation as the concatenation of:- The fully qualified name of the class
- The version of the class containing the field, with a preceding
@
For example, for a field class
com.example.foo.Bar, you might havecom.example.foo.Bar@1.0.0
-
createOpInstance
public StructInstance<?> createOpInstance(List<?> dependencies)
-
-