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, getServiceUrl
RequestResponse<com.fasterxml.jackson.databind.JsonNode> analysePath(Path filePath) throws FormatIdentifierTechnicalException, FormatIdentifierNotFoundException
filePath
- The file pathFormatIdentifierTechnicalException
- if some error occursFormatIdentifierNotFoundException
RequestResponse<com.fasterxml.jackson.databind.JsonNode> status(Path filePath) throws FormatIdentifierTechnicalException, FormatIdentifierNotFoundException
filePath
- path to an empty folder (can be null)FormatIdentifierTechnicalException
FormatIdentifierNotFoundException
Copyright © 2018 Vitam. All rights reserved.