Class SummarizerAggregate<T>
Collects summary data about a set of input files that will eventually be outputted to the user
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a element to the summary.describe()
A string summarizing this item.List
<Summarizer<T>> getList()
boolean
Iff true no bullet is added for the very first-item in the listboolean
Whether aImageMetadataInput
is required as an input.void
setAvoidBulletOnFirst
(boolean avoidBulletOnFirst) Iff true no bullet is added for the very first-item in the listvoid
setList
(List<Summarizer<T>> list) Methods inherited from class org.anchoranalysis.plugin.io.bean.summarizer.Summarizer
addAll
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SummarizerAggregate
public SummarizerAggregate()
-
-
Method Details
-
add
Description copied from class:Summarizer
Adds a element to the summary.- Specified by:
add
in classSummarizer<T>
- 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>
- Returns:
- the description.
- Throws:
OperationFailedException
-
requiresImageMetadata
Description copied from class:Summarizer
Whether aImageMetadataInput
is required as an input.- Specified by:
requiresImageMetadata
in classSummarizer<T>
- Returns:
- true if the summarize requires
ImageMetadataInput
as input, or false if any input is acceptable. - Throws:
OperationFailedException
- if this cannot be established.
-
getList
-
setList
-
isAvoidBulletOnFirst
public boolean isAvoidBulletOnFirst()Iff true no bullet is added for the very first-item in the list -
setAvoidBulletOnFirst
public void setAvoidBulletOnFirst(boolean avoidBulletOnFirst) Iff true no bullet is added for the very first-item in the list
-