Enum RunSpec.TraceMode

    • Enum Constant Detail

      • NONE

        public static final RunSpec.TraceMode NONE
        Record nothing, running with no tracing overhead at all.
      • RING

        public static final RunSpec.TraceMode RING
        Keep only the most recent events in a fixed-size buffer, so a long run still leaves the tail leading up to a failure; the default.
      • FULL

        public static final RunSpec.TraceMode FULL
        Keep every event for the whole run; the most expensive mode in memory and only practical for short executions.
    • Method Detail

      • values

        public static RunSpec.TraceMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RunSpec.TraceMode c : RunSpec.TraceMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RunSpec.TraceMode 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