public interface SiegfriedClient extends MockOrRestClient
| Modifier and Type | Method and Description |
|---|---|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
analysePath(Path filePath)
Call siegfried instance to analyse the given file and format a Json response
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
status(Path filePath)
Call Siegfried instance to get disponibility and version
|
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrlRequestResponse<com.fasterxml.jackson.databind.JsonNode> analysePath(Path filePath) throws FormatIdentifierTechnicalException, FormatIdentifierNotFoundException
filePath - The file pathFormatIdentifierTechnicalException - if some error occursFormatIdentifierNotFoundExceptionRequestResponse<com.fasterxml.jackson.databind.JsonNode> status(Path filePath) throws FormatIdentifierTechnicalException, FormatIdentifierNotFoundException
filePath - path to an empty folder (can be null)FormatIdentifierTechnicalExceptionFormatIdentifierNotFoundExceptionCopyright © 2018 Vitam. All rights reserved.