Enum Configuration.JavaScriptDebugMode

java.lang.Object
java.lang.Enum<Configuration.JavaScriptDebugMode>
com.realobjects.pdfreactor.Configuration.JavaScriptDebugMode
All Implemented Interfaces:
Serializable, Comparable<Configuration.JavaScriptDebugMode>, java.lang.constant.Constable
Enclosing class:
Configuration

public static enum Configuration.JavaScriptDebugMode extends Enum<Configuration.JavaScriptDebugMode>

An enum containing JavaScript debug mode constants.

  • Enum Constant Details

    • NONE

      public static final Configuration.JavaScriptDebugMode NONE

      Indicates that debugging is disabled.

    • POSITIONS

      public static final Configuration.JavaScriptDebugMode POSITIONS

      Indicates that the filenames and line numbers that caused output (e.g. via console.log) are logged.

    • EXCEPTIONS

      public static final Configuration.JavaScriptDebugMode EXCEPTIONS

      Indicates that all exceptions thrown during JavaScript processing are logged in addition to the effects of POSITIONS.

    • FUNCTIONS

      public static final Configuration.JavaScriptDebugMode FUNCTIONS

      Indicates that all JavaScript functions entered or exited are logged in addition to the effects of POSITIONS and EXCEPTIONS.

    • LINES

      public static final Configuration.JavaScriptDebugMode LINES

      Indicates that every line of executed JavaScript is logged in addition to the effects of POSITIONS, EXCEPTIONS and FUNCTIONS.

  • Method Details

    • values

      public static Configuration.JavaScriptDebugMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Configuration.JavaScriptDebugMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null