Skip to main content
Version: 1.14

SIP validation plugins

Overview

note

This extension point allows to validate each SIP sumitted for ingestion.

REGARDS provides many implementation of this extension point :

Interface

ISipValidation

Implementation

To learn more about how to create your own plugin see Plugins

Here under is an exemple of how to implements this extension point to create your own business logic.

@Plugin(id = "exemple", version = "1.0.0", description = "exemple plugin",
author = "REGARDS Team", contact = "regards@c-s.fr", licence = "LGPLv3.0", owner = "CSSI",
url = "https://github.com/RegardsOss")
public class Plugin implements ISipValidation {
@Override
public void validate(final SIP sip, Errors errors) {
// Add some errors to the Errors parameter if SIP is invalid.
}
}