Class AtrKoBuilder
java.lang.Object
fr.gouv.vitam.ingest.external.core.AtrKoBuilder
Archive Transfer Reply KO from primary Ingest external steps
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildAtrKo
(String messageIdentifier, String archivalAgency, String transferringAgency, String eventType, String addedMessage, StatusCode code, LocalDateTime eventDateTime) To generate a default ATR KO from Ingest External on AV or MimeType checks.
-
Method Details
-
buildAtrKo
public static String buildAtrKo(String messageIdentifier, String archivalAgency, String transferringAgency, String eventType, String addedMessage, StatusCode code, LocalDateTime eventDateTime) throws IngestExternalException To generate a default ATR KO from Ingest External on AV or MimeType checks.- Parameters:
messageIdentifier
-archivalAgency
-transferringAgency
-eventType
-addedMessage
- might be nullcode
-- Returns:
- the corresponding InputStream with the ATR KO in XML format
- Throws:
IngestExternalException
-