Class AccessLogParameters
java.lang.Object
fr.gouv.vitam.storage.engine.server.storagelog.parameters.AccessLogParameters
- All Implemented Interfaces:
StorageLogStructure
-
Constructor Summary
ConstructorDescriptionAccessLogParameters
(Map<StorageLogbookParameterName, String> mapParameters) Set directly at least all mandatory parameters in the AccessLogParameters. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Check if mandatories parameters are not empty or nullGet the parameters mapGet the status as an outcomesetStatus
(StorageLogbookOutcome outcome) set The status of the operation
-
Constructor Details
-
AccessLogParameters
Set directly at least all mandatory parameters in the AccessLogParameters. This constructor checks if all mandatory parameters are set- Parameters:
mapParameters
- The initial parameters (MUST contains mandatory parameters- Throws:
StorageException
-
-
Method Details
-
setStatus
set The status of the operation- Parameters:
outcome
- the outcome- Returns:
- the AccessLogParameters after the parameter has been added
-
getStatus
Get the status as an outcome- Returns:
- the status as a StorageLogbookOutcome
-
checkMandatoryParameters
Check if mandatories parameters are not empty or null- Throws:
IllegalArgumentException
- thrown when one parameter is empty or null
-
getMapParameters
Get the parameters map- Specified by:
getMapParameters
in interfaceStorageLogStructure
- Returns:
- the parameters map
-