Class TraceabilityReportEntry
- java.lang.Object
-
- fr.gouv.vitam.batch.report.model.entry.TraceabilityReportEntry
-
public class TraceabilityReportEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXTRA_DATA
static java.lang.String
FILE_ID
static java.lang.String
MESSAGE
static java.lang.String
OFFERS_HASHES
static java.lang.String
OPERATION_ID
static java.lang.String
OPERATION_TYPE
static java.lang.String
SECURED_HASH
static java.lang.String
STATUS
static java.lang.String
TRACEABILITY_ERROR
-
Constructor Summary
Constructors Constructor Description TraceabilityReportEntry(java.lang.String operationId, java.lang.String operationType, java.lang.String status, java.lang.String message, TraceabilityError error, java.lang.String securedHash, java.util.Map<java.lang.String,java.lang.String> offersHashes, java.lang.String fileId, java.util.Map<java.lang.String,java.lang.Object> extraData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceabilityReportEntry
appendExtraData(java.util.Map<java.lang.String,java.lang.Object> map)
TraceabilityError
getError()
java.util.Map<java.lang.String,java.lang.Object>
getExtraData()
java.lang.String
getFileId()
java.lang.String
getMessage()
java.util.Map<java.lang.String,java.lang.String>
getOffersHashes()
java.lang.String
getOperationId()
java.lang.String
getOperationType()
java.lang.String
getSecuredHash()
java.lang.String
getStatus()
TraceabilityReportEntry
setError(TraceabilityError error)
TraceabilityReportEntry
setExtraData(java.util.Map<java.lang.String,java.lang.Object> extraData)
TraceabilityReportEntry
setFileId(java.lang.String fileId)
TraceabilityReportEntry
setMessage(java.lang.String message)
TraceabilityReportEntry
setOffersHashes(java.util.Map<java.lang.String,java.lang.String> offersHashes)
TraceabilityReportEntry
setOperationId(java.lang.String operationId)
TraceabilityReportEntry
setOperationType(java.lang.String operationType)
TraceabilityReportEntry
setSecuredHash(java.lang.String securedHash)
TraceabilityReportEntry
setStatus(java.lang.String status)
-
-
-
Field Detail
-
OPERATION_ID
public static final java.lang.String OPERATION_ID
- See Also:
- Constant Field Values
-
OPERATION_TYPE
public static final java.lang.String OPERATION_TYPE
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
FILE_ID
public static final java.lang.String FILE_ID
- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
-
TRACEABILITY_ERROR
public static final java.lang.String TRACEABILITY_ERROR
- See Also:
- Constant Field Values
-
SECURED_HASH
public static final java.lang.String SECURED_HASH
- See Also:
- Constant Field Values
-
OFFERS_HASHES
public static final java.lang.String OFFERS_HASHES
- See Also:
- Constant Field Values
-
EXTRA_DATA
public static final java.lang.String EXTRA_DATA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TraceabilityReportEntry
public TraceabilityReportEntry(java.lang.String operationId, java.lang.String operationType, java.lang.String status, java.lang.String message, TraceabilityError error, java.lang.String securedHash, java.util.Map<java.lang.String,java.lang.String> offersHashes, java.lang.String fileId, java.util.Map<java.lang.String,java.lang.Object> extraData)
-
-
Method Detail
-
getOperationId
public java.lang.String getOperationId()
-
setOperationId
public TraceabilityReportEntry setOperationId(java.lang.String operationId)
-
getOperationType
public java.lang.String getOperationType()
-
setOperationType
public TraceabilityReportEntry setOperationType(java.lang.String operationType)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public TraceabilityReportEntry setStatus(java.lang.String status)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public TraceabilityReportEntry setMessage(java.lang.String message)
-
getSecuredHash
public java.lang.String getSecuredHash()
-
setSecuredHash
public TraceabilityReportEntry setSecuredHash(java.lang.String securedHash)
-
getOffersHashes
public java.util.Map<java.lang.String,java.lang.String> getOffersHashes()
-
setOffersHashes
public TraceabilityReportEntry setOffersHashes(java.util.Map<java.lang.String,java.lang.String> offersHashes)
-
getFileId
public java.lang.String getFileId()
-
setFileId
public TraceabilityReportEntry setFileId(java.lang.String fileId)
-
getExtraData
public java.util.Map<java.lang.String,java.lang.Object> getExtraData()
-
setExtraData
public TraceabilityReportEntry setExtraData(java.util.Map<java.lang.String,java.lang.Object> extraData)
-
appendExtraData
public TraceabilityReportEntry appendExtraData(java.util.Map<java.lang.String,java.lang.Object> map)
-
getError
public TraceabilityError getError()
-
setError
public TraceabilityReportEntry setError(TraceabilityError error)
-
-