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 NormalizableFieldsnormalize(NormalizableFields fieldsAndValues)Given a container of fields from theDiagnosisKeywith their respective values, return a new container with the normalized values.
-
-
-
Constructor Detail
-
FederationKeyNormalizer
public FederationKeyNormalizer(DownloadServiceConfig config)
Constructor for this class.- Parameters:
config- ADownloadServiceConfigobject.
-
-
Method Detail
-
normalize
public NormalizableFields normalize(NormalizableFields fieldsAndValues)
Description copied from interface:DiagnosisKeyNormalizerGiven a container of fields from theDiagnosisKeywith their respective values, return a new container with the normalized values.- Specified by:
normalizein interfaceDiagnosisKeyNormalizer
-
-