Enum Class ExcelConfig.CalculationMode

java.lang.Object
java.lang.Enum<ExcelConfig.CalculationMode>
es.urjc.etsii.grafo.io.serializers.excel.ExcelConfig.CalculationMode
All Implemented Interfaces:
Serializable, Comparable<ExcelConfig.CalculationMode>, Constable
Enclosing class:
ExcelConfig

public static enum ExcelConfig.CalculationMode extends Enum<ExcelConfig.CalculationMode>
Defines how to handle calculated values when serializing to Excel 2007+
  • Enum Constant Details

    • JAVA

      public static final ExcelConfig.CalculationMode JAVA
      Calculate data before serializing to Excel, extremely fast but extending Excel files will not update calculated data such as best value per instance or %Dev.
    • EXCEL

      public static final ExcelConfig.CalculationMode EXCEL
      Calculate data when user opens Excel file for the first time. Much slower, but allows users to extend and easily modify Excel files.
    • AUTO

      public static final ExcelConfig.CalculationMode AUTO
      Decide strategy at runtime depending on the number of rows to serialize.
  • Method Details

    • values

      public static ExcelConfig.CalculationMode[] 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 ExcelConfig.CalculationMode 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