Class FederationKeyNormalizer
- java.lang.Object
-
- app.coronawarn.server.services.download.normalization.FederationKeyNormalizer
-
- All Implemented Interfaces:
DiagnosisKeyNormalizer
public class FederationKeyNormalizer extends Object implements DiagnosisKeyNormalizer
This class is used to derive transmission risk level using the days since onset of symptoms.
-
-
Constructor Summary
Constructors Constructor Description FederationKeyNormalizer(DownloadServiceConfig config)
Constructor for this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalizableFields
normalize(NormalizableFields fieldsAndValues)
Given a container of fields from theDiagnosisKey
with their respective values, return a new container with the normalized values.
-
-
-
Constructor Detail
-
FederationKeyNormalizer
public FederationKeyNormalizer(DownloadServiceConfig config)
Constructor for this class.- Parameters:
config
- ADownloadServiceConfig
object.
-
-
Method Detail
-
normalize
public NormalizableFields normalize(NormalizableFields fieldsAndValues)
Description copied from interface:DiagnosisKeyNormalizer
Given a container of fields from theDiagnosisKey
with their respective values, return a new container with the normalized values.- Specified by:
normalize
in interfaceDiagnosisKeyNormalizer
-
-