public class PhotoFileProcessorResultGenerator
extends java.lang.Object
Constructor and Description |
---|
PhotoFileProcessorResultGenerator(de.contecon.picapport.selectionprocessors.ProcessorPluginMetadataDetailsGenerator mdg)
Eric 10.09.2020
|
Modifier and Type | Method and Description |
---|---|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
java.util.Collection<com.drew.metadata.Tag> tags)
Create a Report group with a title and the provided Tag Collection
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
org.json.JSONObject json)
Create a Report group with a title and all the data from the provided json Object
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
java.util.List list)
Create a Report group with a title and values from the provided list
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
java.util.Map keyValueMap)
Create a Report group with a title and key/value pairs from the provided Map
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
java.lang.Object preFormattedString)
Create a Report group with a title an a preformatted String
the preformatted String will be rendered in an html <pre> element
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
addGroupData(java.lang.String title,
java.lang.Throwable t)
Create a Report group with a title and all the data from the provided Throwable
can be used to show errors
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
commit(de.contecon.picapport.selectionprocessors.RequestStatus requestStatus)
Internal Method to Commit all data for generated photos
author Eric 10.09.2020
|
PhotoFileProcessorResultGenerator |
commit(de.contecon.picapport.selectionprocessors.RequestStatus requestStatus,
int vidIndex)
Internal Method to Commit all data for generated photos
author Eric 14.04.2020
|
public PhotoFileProcessorResultGenerator(de.contecon.picapport.selectionprocessors.ProcessorPluginMetadataDetailsGenerator mdg)
mdg
- ProcessorPluginMetadataDetailsGenerator that should be used for reportingpublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, java.lang.Object preFormattedString)
title
- group titlepreFormattedString
- the preformatted String will be rendered in an html <pre> elementpublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, java.util.Map keyValueMap)
title
- group titlekeyValueMap
- the content of the map will be displayed in the grouppublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, java.util.List list)
title
- group titlelist
- the content of the list will be displayed in the grouppublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, java.util.Collection<com.drew.metadata.Tag> tags)
title
- group titletags
- the content of the Collection will be displayed in the grouppublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, org.json.JSONObject json)
title
- group titlejson
- the content of the json object will be displayed in the grouppublic PhotoFileProcessorResultGenerator addGroupData(java.lang.String title, java.lang.Throwable t)
title
- group titlet
- error to displaypublic PhotoFileProcessorResultGenerator commit(de.contecon.picapport.selectionprocessors.RequestStatus requestStatus)
requestStatus
- requestStatuspublic PhotoFileProcessorResultGenerator commit(de.contecon.picapport.selectionprocessors.RequestStatus requestStatus, int vidIndex)
requestStatus
- requestStatusvidIndex
- -1 means no Image will be generated