Class ExtractIdentifier<T extends org.anchoranalysis.io.input.InputFromManager>
Object
org.anchoranalysis.bean.AnchorBean<Summarizer<T>>
org.anchoranalysis.plugin.io.bean.summarizer.Summarizer<T>
org.anchoranalysis.plugin.io.bean.summarizer.input.SummarizerInputFromManager<T,String>
org.anchoranalysis.plugin.io.bean.summarizer.input.ExtractIdentifier<T>
- Type Parameters:
T- input-type.
public class ExtractIdentifier<T extends org.anchoranalysis.io.input.InputFromManager> extends SummarizerInputFromManager<T,String>
Extracts the identifier from an
InputFromManager to summarize further.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ExtractIdentifier() -
Method Summary
Modifier and Type Method Description protected Optional<String>extractFrom(T input)booleanrequiresImageMetadata()Whether aImageMetadataInputis required as an input.Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.input.SummarizerInputFromManager
add, describe, getSummarizer, setSummarizer
-
Constructor Details
-
ExtractIdentifier
public ExtractIdentifier()
-
-
Method Details
-
extractFrom
- Specified by:
extractFromin classSummarizerInputFromManager<T extends org.anchoranalysis.io.input.InputFromManager,String>
-
requiresImageMetadata
public boolean requiresImageMetadata()Description copied from class:SummarizerWhether aImageMetadataInputis required as an input.- Specified by:
requiresImageMetadatain classSummarizer<T extends org.anchoranalysis.io.input.InputFromManager>- Returns:
- true if the summarize requires
ImageMetadataInputas input, or false if any input is acceptable.
-