Class TenantTraceabilityVersionConfiguration
java.lang.Object
fr.gouv.vitam.common.configuration.TenantTraceabilityVersionConfiguration
Configuration class for tenant-specific securisation version
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for deserializationTenantTraceabilityVersionConfiguration(Integer tenant, String logbookOperation, String lfcUnit, String lfcGot) Constructor with consolidated parameters -
Method Summary
Modifier and TypeMethodDescriptionGet the LFC GOT traceability versionGet the LFC unit traceability versionGet the logbook operation traceability versionGet the tenant IDSet the LFC GOT traceability versionsetLfcUnit(String lfcUnit) Set the LFC unit traceability versionsetLogbookOperation(String logbookOperation) Set the logbook operation traceability versionSet the tenant IDtoString()
-
Constructor Details
-
TenantTraceabilityVersionConfiguration
public TenantTraceabilityVersionConfiguration()Default constructor for deserialization -
TenantTraceabilityVersionConfiguration
public TenantTraceabilityVersionConfiguration(Integer tenant, String logbookOperation, String lfcUnit, String lfcGot) Constructor with consolidated parameters- Parameters:
tenant- Tenant IDlogbookOperation- Logbook operation traceability versionlfcUnit- LFC unit traceability versionlfcGot- LFC GOT traceability version- Throws:
IllegalArgumentException- if any version doesn't match the required format (V1, V2, V3, etc.)
-
-
Method Details
-
getTenant
Get the tenant ID- Returns:
- Tenant ID
-
setTenant
Set the tenant ID- Parameters:
tenant- Tenant ID- Returns:
- This instance for chaining
-
getLogbookOperation
Get the logbook operation traceability version- Returns:
- Logbook operation traceability version
-
setLogbookOperation
Set the logbook operation traceability version- Parameters:
logbookOperation- Logbook operation traceability version- Returns:
- This instance for chaining
- Throws:
IllegalArgumentException- if version doesn't match the required format (V1, V2, V3, etc.)
-
getLfcUnit
Get the LFC unit traceability version- Returns:
- LFC unit traceability version
-
setLfcUnit
Set the LFC unit traceability version- Parameters:
lfcUnit- LFC unit traceability version- Returns:
- This instance for chaining
- Throws:
IllegalArgumentException- if version doesn't match the required format (V1, V2, V3, etc.)
-
getLfcGot
Get the LFC GOT traceability version- Returns:
- LFC GOT traceability version
-
setLfcGot
Set the LFC GOT traceability version- Parameters:
lfcGot- LFC GOT traceability version- Returns:
- This instance for chaining
- Throws:
IllegalArgumentException- if version doesn't match the required format (V1, V2, V3, etc.)
-
toString
-