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 TypeMethodDescriptionvoid
Adds a element to the summary.describe()
A string summarizing this item.extractFrom
(T input) void
setSummarizer
(Summarizer<S> summarizer) Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.Summarizer
addAll, requiresImageMetadata
Methods 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:Summarizer
Adds a element to the summary.- Specified by:
add
in classSummarizer<T extends InputFromManager>
- Parameters:
element
- the element to add.- Throws:
OperationFailedException
-
describe
Description copied from class:Summarizer
A string summarizing this item.- Specified by:
describe
in classSummarizer<T extends InputFromManager>
- Returns:
- the description.
- Throws:
OperationFailedException
-
extractFrom
-
getSummarizer
-
setSummarizer
-