Enum Class DerivationSelection
java.lang.Object
java.lang.Enum<DerivationSelection>
cern.nxcals.api.backport.domain.core.constants.DerivationSelection
- All Implemented Interfaces:
Serializable,Comparable<DerivationSelection>,Constable
Defines the correction algorithms to apply for correcting data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTakes the correction algorithm available at the moment of the data (it can use more than one algorithm, if there is more than one correction defined in the chosen time range)Take the algorithm available at a certain moment in time.Takes the best available algorithm for the time of the data (should be the best one)Uses the raw data -
Method Summary
Modifier and TypeMethodDescriptionstatic DerivationSelectionReturns the enum constant of this class with the specified name.static DerivationSelection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BEST_NOW
Takes the best available algorithm for the time of the data (should be the best one) -
AVAILABLE_AT_TIME_OF_DATA
Takes the correction algorithm available at the moment of the data (it can use more than one algorithm, if there is more than one correction defined in the chosen time range) -
BEST_AT_SPECIFIED_TIME
Take the algorithm available at a certain moment in time. An additional parameter (timestamp) must be provided, when this method is chosen. -
RAW
Uses the raw data
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-