Class SummarizerInputFromManager<T extends InputFromManager,S>
- Type Parameters:
T- input-type for input-managerS- type of entity extracted from input-type for summarization
- Direct Known Subclasses:
ExtractIdentifier,ExtractIdentifierAndPath,ExtractPath
public abstract class SummarizerInputFromManager<T extends InputFromManager,S>
extends Summarizer<T>
Extracts a particular item from an
InputFromManager for further summarization downstream.
It can be used to (effectively) convert summarization from an InputFromManager to
another type.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a element to the summary.describe()A string summarizing this item.extractFrom(T input) voidsetSummarizer(Summarizer<S> summarizer) Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.Summarizer
addAll, requiresImageMetadataMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SummarizerInputFromManager
public SummarizerInputFromManager()
-
-
Method Details
-
add
Description copied from class:SummarizerAdds a element to the summary.- Specified by:
addin classSummarizer<T extends InputFromManager>- Parameters:
element- the element to add.- Throws:
OperationFailedException
-
describe
Description copied from class:SummarizerA string summarizing this item.- Specified by:
describein classSummarizer<T extends InputFromManager>- Returns:
- the description.
- Throws:
OperationFailedException
-
extractFrom
-
getSummarizer
-
setSummarizer
-