Class LogbookParametersFactory
java.lang.Object
fr.gouv.vitam.logbook.common.parameters.LogbookParametersFactory
Logbook parameters factory
Factory to get LogbookParameters object
Example:
// Retrieves logbook operation parameters with standard required fields
LogbookOperationParameters parameters = LogbookParametersFactory.getLogbookOperationParameters();
// Retrieves logbook operation parameters with standard required fields and specifics required fields
Set<LogbookParameterName> specificMandatoryFields = new HashSet<>()
// add specific fields
specificMandatoryFields.add(LogbookParameterName.objectIdentifier);
specificMandatoryFields.add(LogbookParameterName.agentIdentifier);
// Retrieves parameter object
parameters = LogbookParametersFactory.getLogbookOperationParameters(specificMandatoryFields);
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<LogbookParameterName>
static LogbookOperationParameters
Get a new Empty LogbookOperationParameters object.
-
Method Details
-
newLogbookOperationParameters
Get a new Empty LogbookOperationParameters object.
Use in internal assignment. Not recommended in general usage.- Returns:
- the LogbookOperationParameters
-
getDefaultOperationMandatory
- Returns:
- the default Mandatory fields set for Operation
-