Class WorkflowBatchResult.OutputExtra
- java.lang.Object
-
- fr.gouv.vitam.worker.core.plugin.preservation.model.WorkflowBatchResult.OutputExtra
-
- Enclosing class:
- WorkflowBatchResult
public static class WorkflowBatchResult.OutputExtra extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OutputExtra(OutputPreservation output, java.lang.String binaryGUID, java.util.Optional<java.lang.Long> size, java.util.Optional<java.lang.String> binaryHash, java.util.Optional<FormatIdentifierResponse> binaryFormat, java.util.Optional<StoredInfoResult> storedInfo, java.util.Optional<ExtractedMetadata> extractedMetadataGOT, java.util.Optional<ExtractedMetadataForAu> extractedMetadataAU, java.util.Optional<java.lang.String> error)
-
Method Summary
-
-
-
Constructor Detail
-
OutputExtra
public OutputExtra(OutputPreservation output, java.lang.String binaryGUID, java.util.Optional<java.lang.Long> size, java.util.Optional<java.lang.String> binaryHash, java.util.Optional<FormatIdentifierResponse> binaryFormat, java.util.Optional<StoredInfoResult> storedInfo, java.util.Optional<ExtractedMetadata> extractedMetadataGOT, java.util.Optional<ExtractedMetadataForAu> extractedMetadataAU, java.util.Optional<java.lang.String> error)
-
-
Method Detail
-
of
public static WorkflowBatchResult.OutputExtra of(OutputPreservation output)
-
withBinaryHashAndSize
public static WorkflowBatchResult.OutputExtra withBinaryHashAndSize(WorkflowBatchResult.OutputExtra outputExtra, java.lang.String binaryHash, long size)
-
withBinaryFormat
public static WorkflowBatchResult.OutputExtra withBinaryFormat(WorkflowBatchResult.OutputExtra outputExtra, FormatIdentifierResponse binaryFormat)
-
withStoredInfo
public static WorkflowBatchResult.OutputExtra withStoredInfo(WorkflowBatchResult.OutputExtra outputExtra, StoredInfoResult storedInfo)
-
withExtractedMetadataForGot
public static WorkflowBatchResult.OutputExtra withExtractedMetadataForGot(WorkflowBatchResult.OutputExtra outputExtra, ExtractedMetadata extractedMetadataGOT)
-
withExtractedMetadataForAu
public static WorkflowBatchResult.OutputExtra withExtractedMetadataForAu(WorkflowBatchResult.OutputExtra outputExtra, ExtractedMetadataForAu extractedMetadataAU)
-
inError
public static WorkflowBatchResult.OutputExtra inError(java.lang.String errorMessage)
-
getOutput
public OutputPreservation getOutput()
-
getBinaryGUID
public java.lang.String getBinaryGUID()
-
getSize
public java.util.Optional<java.lang.Long> getSize()
-
getBinaryHash
public java.util.Optional<java.lang.String> getBinaryHash()
-
getBinaryFormat
public java.util.Optional<FormatIdentifierResponse> getBinaryFormat()
-
getStoredInfo
public java.util.Optional<StoredInfoResult> getStoredInfo()
-
getError
public java.util.Optional<java.lang.String> getError()
-
getExtractedMetadataGOT
public java.util.Optional<ExtractedMetadata> getExtractedMetadataGOT()
-
getExtractedMetadataAU
public java.util.Optional<ExtractedMetadataForAu> getExtractedMetadataAU()
-
isOkAndGenerated
public boolean isOkAndGenerated()
-
isInError
public boolean isInError()
-
isOkAndIdentify
public boolean isOkAndIdentify()
-
isOkAndExtractedGot
public boolean isOkAndExtractedGot()
-
isOkAndExtractedAu
public boolean isOkAndExtractedAu()
-
-