public class SummarizerAggregate<T> extends Summarizer<T>
Constructor and Description |
---|
SummarizerAggregate() |
Modifier and Type | Method and Description |
---|---|
void |
add(T element)
Adds a element to the summary.
|
String |
describe()
A string summarizing this item.
|
List<Summarizer<T>> |
getList() |
boolean |
isAvoidBulletOnFirst()
Iff true no bullet is added for the very first-item in the list
|
boolean |
requiresImageMetadata()
Whether a
ImageMetadataInput is required as an input. |
void |
setAvoidBulletOnFirst(boolean avoidBulletOnFirst)
Iff true no bullet is added for the very first-item in the list
|
void |
setList(List<Summarizer<T>> list) |
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() throws OperationFailedException
Summarizer
ImageMetadataInput
is required as an input.requiresImageMetadata
in class Summarizer<T>
ImageMetadataInput
as input, or false if any
input is acceptable.OperationFailedException
- if this cannot be established.public List<Summarizer<T>> getList()
public void setList(List<Summarizer<T>> list)
public boolean isAvoidBulletOnFirst()
public void setAvoidBulletOnFirst(boolean avoidBulletOnFirst)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.