Enum Class LicenseMode

java.lang.Object
java.lang.Enum<LicenseMode>
io.keikai.axyra.sheets.LicenseMode
All Implemented Interfaces:
Serializable, Comparable<LicenseMode>, Constable

public enum LicenseMode extends Enum<LicenseMode>
What Workbook.setLicense(String, LicenseMode) does with a token that is not in force.
  • Enum Constant Details

    • FALLBACK_TO_EVALUATION

      public static final LicenseMode FALLBACK_TO_EVALUATION
      Run as an evaluation copy (watermarked output, the per-execution file and uptime limits) and say so once on standard error. The default.
    • REQUIRED

      public static final LicenseMode REQUIRED
      Throw AxyraException instead: for production code, where a bad key should stop the job before it writes a single marked file.
  • Method Details

    • values

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