AIP generation plugins
Overview
note
This extension point allows to generate one or many AIP
(s) for one submitted SIP
.
REGARDS provides many implementation of this extension point :
- DefaultSingleAIPGeneration : Build AIP with all informations from SIP
- StringEnhancedDescriptiveAipGeneration : Allows to add two given String to generated AIPs
- DoubleEnhancedDescriptiveAipGeneration : Allows to add a random Double to generated AIPs
Interface
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 IAipGeneration {
@Override
public List<AIP> generate(SIP sip, UniformResourceName aipId, UniformResourceName sipId, String providerId) {
}
}