T
- type of entity to summarize (its string representation is taken)public class SummarizerListMultiline<T> extends Summarizer<T>
The string representation for each element is printed as a line.
Constructor and Description |
---|
SummarizerListMultiline() |
Modifier and Type | Method and Description |
---|---|
void |
add(T element)
Adds a element to the summary.
|
String |
describe()
A string summarizing this item.
|
boolean |
requiresImageMetadata()
Whether a
ImageMetadataInput is required as an input. |
addAll
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void add(T element) throws OperationFailedException
Summarizer
add
in class Summarizer<T>
element
- the element to add.OperationFailedException
public String describe() throws OperationFailedException
Summarizer
describe
in class Summarizer<T>
OperationFailedException
public boolean requiresImageMetadata()
Summarizer
ImageMetadataInput
is required as an input.requiresImageMetadata
in class Summarizer<T>
ImageMetadataInput
as input, or false if any
input is acceptable.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.