Class AtrKoBuilder
- java.lang.Object
-
- fr.gouv.vitam.ingest.external.core.AtrKoBuilder
-
public class AtrKoBuilder extends java.lang.Object
Archive Transfer Reply KO from primary Ingest external steps
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
buildAtrKo(java.lang.String messageIdentifier, java.lang.String archivalAgency, java.lang.String transferringAgency, java.lang.String eventType, java.lang.String addedMessage, StatusCode code, java.time.LocalDateTime eventDateTime)
To generate a default ATR KO from Ingest External on AV or MimeType checks.
-
-
-
Method Detail
-
buildAtrKo
public static java.lang.String buildAtrKo(java.lang.String messageIdentifier, java.lang.String archivalAgency, java.lang.String transferringAgency, java.lang.String eventType, java.lang.String addedMessage, StatusCode code, java.time.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
-
-