Class ParameterSpec
- java.lang.Object
-
- app.coronawarn.server.services.distribution.assembly.appconfig.validation.ParameterSpec
-
public class ParameterSpec extends Object
Definition of the spec according to Apple/Google: https://developer.apple.com/documentation/exposurenotification/enexposureconfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTENUATION_DURATION_THRESHOLD_MAX
The allowed maximum value for an attenuation threshold.static int
ATTENUATION_DURATION_THRESHOLD_MIN
The allowed minimum value for an attenuation threshold.static double
ATTENUATION_DURATION_WEIGHT_MAX
The allowed maximum value for an attenuation weight.static int
ATTENUATION_DURATION_WEIGHT_MAX_DECIMALS
Maximum number of allowed decimals for an attenuation weight.static double
ATTENUATION_DURATION_WEIGHT_MIN
The allowed minimum value for an attenuation weight.static int
DEFAULT_BUCKET_OFFSET_MAX
The allowed maximum value for a default bucket offset.static int
DEFAULT_BUCKET_OFFSET_MIN
The allowed minimum value for a default bucket offset.static int
RISK_SCORE_MAX
The allowed maximum value for a risk score.static int
RISK_SCORE_MIN
The allowed minimum value for risk score.static int
RISK_SCORE_NORMALIZATION_DIVISOR_MAX
The allowed maximum value for a risk score normalization divisor.static int
RISK_SCORE_NORMALIZATION_DIVISOR_MIN
The allowed minimum value for a risk score normalization divisor.static int
WEIGHT_MAX
The maximum weight value for mobile API.static int
WEIGHT_MAX_DECIMALS
Maximum number of allowed decimals.static double
WEIGHT_MIN
The minimum weight value for mobile API.
-
-
-
Field Detail
-
WEIGHT_MIN
public static final double WEIGHT_MIN
The minimum weight value for mobile API.- See Also:
- Constant Field Values
-
WEIGHT_MAX
public static final int WEIGHT_MAX
The maximum weight value for mobile API.- See Also:
- Constant Field Values
-
WEIGHT_MAX_DECIMALS
public static final int WEIGHT_MAX_DECIMALS
Maximum number of allowed decimals.- See Also:
- Constant Field Values
-
RISK_SCORE_MIN
public static final int RISK_SCORE_MIN
The allowed minimum value for risk score.- See Also:
- Constant Field Values
-
RISK_SCORE_MAX
public static final int RISK_SCORE_MAX
The allowed maximum value for a risk score.- See Also:
- Constant Field Values
-
ATTENUATION_DURATION_THRESHOLD_MIN
public static final int ATTENUATION_DURATION_THRESHOLD_MIN
The allowed minimum value for an attenuation threshold.- See Also:
- Constant Field Values
-
ATTENUATION_DURATION_THRESHOLD_MAX
public static final int ATTENUATION_DURATION_THRESHOLD_MAX
The allowed maximum value for an attenuation threshold.- See Also:
- Constant Field Values
-
ATTENUATION_DURATION_WEIGHT_MIN
public static final double ATTENUATION_DURATION_WEIGHT_MIN
The allowed minimum value for an attenuation weight.- See Also:
- Constant Field Values
-
ATTENUATION_DURATION_WEIGHT_MAX
public static final double ATTENUATION_DURATION_WEIGHT_MAX
The allowed maximum value for an attenuation weight.- See Also:
- Constant Field Values
-
ATTENUATION_DURATION_WEIGHT_MAX_DECIMALS
public static final int ATTENUATION_DURATION_WEIGHT_MAX_DECIMALS
Maximum number of allowed decimals for an attenuation weight.- See Also:
- Constant Field Values
-
DEFAULT_BUCKET_OFFSET_MIN
public static final int DEFAULT_BUCKET_OFFSET_MIN
The allowed minimum value for a default bucket offset.- See Also:
- Constant Field Values
-
DEFAULT_BUCKET_OFFSET_MAX
public static final int DEFAULT_BUCKET_OFFSET_MAX
The allowed maximum value for a default bucket offset.- See Also:
- Constant Field Values
-
RISK_SCORE_NORMALIZATION_DIVISOR_MIN
public static final int RISK_SCORE_NORMALIZATION_DIVISOR_MIN
The allowed minimum value for a risk score normalization divisor.- See Also:
- Constant Field Values
-
RISK_SCORE_NORMALIZATION_DIVISOR_MAX
public static final int RISK_SCORE_NORMALIZATION_DIVISOR_MAX
The allowed maximum value for a risk score normalization divisor.- See Also:
- Constant Field Values
-
-