Class JobOptions

java.lang.Object
cs1302.tracer.execution.JobOptions

public class JobOptions extends Object
CLI settings for tracing budgets and the opt-in versioned result envelope.
  • Field Details

    • envelope

      public boolean envelope
    • multithread

      public boolean multithread
    • unlimited

      public boolean unlimited
    • sourceBytes

      public Long sourceBytes
    • inspection

      public InspectionPolicy inspection
    • breakpoints

      public List<String> breakpoints
      Configured breakpoint target specifications.
    • evalEnumHash

      public boolean evalEnumHash
  • Constructor Details

    • JobOptions

      public JobOptions()
      Constructs default trusted options.
  • Method Details

    • parseBreakpoints

      public static List<BreakpointSpec> parseBreakpoints(Collection<String> raw)
      Parses a collection of raw breakpoint strings into BreakpointSpec objects.
      Parameters:
      raw - Raw breakpoint strings.
      Returns:
      List of parsed BreakpointSpec objects, or empty list if null.
    • breakpointSpecs

      public List<BreakpointSpec> breakpointSpecs()
      Returns the parsed breakpoint specifications for these options.
      Returns:
      List of BreakpointSpec instances.
    • limits

      public TraceLimits limits()
      Validates and returns the selected budgets.
      Returns:
      Effective limits.