public class VideoThumbnailPlugin extends Object implements PostCreateStoragePlugin, PostUpdateStoragePlugin
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_MAX_FILE_SIZE_MB |
| Constructor and Description |
|---|
VideoThumbnailPlugin(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deletes the directory that holds the FFmpeg binary.
|
CreateStorageResponse |
process(CreateStorageResponse input)
Processes the
CreateStorageResponse. |
UpdateStorageResponse |
process(UpdateStorageResponse input)
Processes the
UpdateStorageResponse. |
void |
setMaxFileSizeMB(int maxFileSizeMB) |
protected static final int DEFAULT_MAX_FILE_SIZE_MB
public VideoThumbnailPlugin(org.osgi.framework.BundleContext bundleContext)
throws IOException
IOExceptionpublic void destroy()
Called by Blueprint.
public CreateStorageResponse process(CreateStorageResponse input) throws PluginExecutionException
PostCreateStoragePluginCreateStorageResponse.
process in interface PostCreateStoragePlugininput - the CreateStorageResponse to processCreateStorageResponse to pass to the next PostCreateStoragePluginPluginExecutionException - if an error occurs during processingpublic UpdateStorageResponse process(UpdateStorageResponse input) throws PluginExecutionException
PostUpdateStoragePluginUpdateStorageResponse.process in interface PostUpdateStoragePlugininput - the UpdateStorageResponse to processUpdateStorageResponse to pass to the next PostUpdateStoragePluginPluginExecutionException - if an error occurs during processingpublic void setMaxFileSizeMB(int maxFileSizeMB)
This work is licensed under a Creative Commons Attribution 4.0 International License.