public abstract class PhotoFileProcessor extends java.lang.Object implements IPicApportGroovyAddon
Constructor and Description |
---|
PhotoFileProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
processPhotoFile(IAddonContext addonContext,
IAddonExecutionContext addonExecutionContext,
IAddonFileToProcess fileToProcess)
This method is called one time for each selected photo
author Eric 14.09.2020
|
void |
start(IAddonContext addonContext,
IAddonExecutionContext addonExecutionContext)
This method is called one time at the beginning of processing the selected photos
author Eric 14.09.2020
|
void |
stop(IAddonContext addonContext,
IAddonExecutionContext addonExecutionContext)
This method is called one time at the end of processing the selected photos
author Eric 14.09.2020
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public void start(IAddonContext addonContext, IAddonExecutionContext addonExecutionContext)
addonContext
- Global utility methods for logging etc....addonExecutionContext
- The executionContext passed,is always the same instance during the lifecycle
of the processor. It extends a Map, so it can be used to store any information
during the processing of photos.public void processPhotoFile(IAddonContext addonContext, IAddonExecutionContext addonExecutionContext, IAddonFileToProcess fileToProcess)
addonContext
- Global utility methods for logging etc....addonExecutionContext
- The executionContext passed,is always the same instance during the lifecycle
of the processor. It extends a Map, so it can be used to store any information
during the processing of photos.fileToProcess
- Use fileToProcess to access information of the current processed photo like file, or metadata.public void stop(IAddonContext addonContext, IAddonExecutionContext addonExecutionContext)
addonContext
- Global utility methods for logging etc....addonExecutionContext
- The executionContext passed,is always the same instance during the lifecycle
of the processor. It extends a Map, so it can be used to store any information
during the processing of photos.