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

public enum DerivationSelection extends Enum<DerivationSelection> implements Serializable
Defines the correction algorithms to apply for correcting data.
  • Enum Constant Details

    • BEST_NOW

      public static final DerivationSelection BEST_NOW
      Takes the best available algorithm for the time of the data (should be the best one)
    • AVAILABLE_AT_TIME_OF_DATA

      public static final DerivationSelection 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

      public static final DerivationSelection 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

      public static final DerivationSelection RAW
      Uses the raw data
  • Method Details

    • values

      public static DerivationSelection[] 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

      public static DerivationSelection valueOf(String name)
      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 name
      NullPointerException - if the argument is null