- java.lang.Object
-
- org.scijava.ops.engine.matcher.impl.AbstractRichOp<T>
-
- Type Parameters:
T- the functionalTypeof the Op
- All Implemented Interfaces:
GenericTyped,RichOp<T>
public abstract class AbstractRichOp<T> extends Object implements RichOp<T>
An abstract implementation ofRichOp. While this class has no abstract methods, it should remainabstractdue to the fact that it does not implement the Op type it purports to be. The implementation of that method is left to implementations of this class (and is necessary for the correct behavior ofRichOp.asOpType()).- Author:
- Gabriel Selzer
-
-
Field Summary
Fields Modifier and Type Field Description booleanrecord
-
Constructor Summary
Constructors Constructor Description AbstractRichOp(OpInstance<T> instance, OpEnvironment env, MatchingConditions conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpEnvironmentenv()Hintshints()OpInstance<T>instance()Stringname()voidpostprocess(Object output)voidpreprocess(Object... inputs)StringtoString()
-
-
-
Constructor Detail
-
AbstractRichOp
public AbstractRichOp(OpInstance<T> instance, OpEnvironment env, MatchingConditions conditions)
-
-
Method Detail
-
env
public OpEnvironment env()
-
instance
public OpInstance<T> instance()
-
preprocess
public void preprocess(Object... inputs)
- Specified by:
preprocessin interfaceRichOp<T>
-
postprocess
public void postprocess(Object output)
- Specified by:
postprocessin interfaceRichOp<T>
-
-