Class ProcessDebugContextPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.ProcessDebugContextPatch.Builder
Enclosing class:
ProcessDebugContextPatch

public static final class ProcessDebugContextPatch.Builder extends Object
Builds a ProcessDebugContextPatch; each setter replaces what an earlier call set.
  • Method Details

    • id

      public ProcessDebugContextPatch.Builder id(@Nullable String id)
      Sets ID: the ID property
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • status

      Sets Status: The state of the process that is being debugged.
      Parameters:
      status - the value; null sends an explicit null
      Returns:
      this builder
    • lastActivityDuration

      public ProcessDebugContextPatch.Builder lastActivityDuration(@Nullable Long lastActivityDuration)
      Sets LastActivityDuration: The number of milliseconds that have elapsed since the last debug action.
      Parameters:
      lastActivityDuration - the value; null sends an explicit null
      Returns:
      this builder
    • objectLocks

      public ProcessDebugContextPatch.Builder objectLocks(@Nullable List<ProcessDebugContextObjectLockPatch> objectLocks)
      Sets ObjectLocks: A collection of object locks that are held by the TurboIntegrator process under debug.
      Parameters:
      objectLocks - the value; null sends an explicit null
      Returns:
      this builder
    • result

      Sets Result: Once the process execution has completed this contains the execution results.
      Parameters:
      result - the value; null sends an explicit null
      Returns:
      this builder
    • currentBreakpoint

      public ProcessDebugContextPatch.Builder currentBreakpoint(@Nullable ProcessDebugContextBreakpointPatch currentBreakpoint)
      Sets CurrentBreakpoint: The breakpoint that the process is currently paused at. (nested, for a deep insert)
      Parameters:
      currentBreakpoint - the value; null sends an explicit null
      Returns:
      this builder
    • bindCurrentBreakpoint

      public ProcessDebugContextPatch.Builder bindCurrentBreakpoint(ODataPath target)
      Binds CurrentBreakpoint to an existing entity (CurrentBreakpoint@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • process

      public ProcessDebugContextPatch.Builder process(@Nullable ProcessPatch process)
      Sets Process: The TurboIntegrator process passed to the debug action. (nested, for a deep insert)
      Parameters:
      process - the value; null sends an explicit null
      Returns:
      this builder
    • bindProcess

      public ProcessDebugContextPatch.Builder bindProcess(ODataPath target)
      Binds Process to an existing entity (Process@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • callStack

      Sets CallStack: The execution stack that represents the current execution state. (nested, for a deep insert)
      Parameters:
      callStack - the value; null sends an explicit null
      Returns:
      this builder
    • bindCallStack

      public ProcessDebugContextPatch.Builder bindCallStack(ODataPath... targets)
      Binds CallStack to existing entities (CallStack@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • breakpoints

      public ProcessDebugContextPatch.Builder breakpoints(@Nullable List<? extends ProcessDebugContextBreakpointPatch> breakpoints)
      Sets Breakpoints: A list of breakpoints that apply to this debug session. (nested, for a deep insert)
      Parameters:
      breakpoints - the value; null sends an explicit null
      Returns:
      this builder
    • bindBreakpoints

      public ProcessDebugContextPatch.Builder bindBreakpoints(ODataPath... targets)
      Binds Breakpoints to existing entities (Breakpoints@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • thread

      public ProcessDebugContextPatch.Builder thread(@Nullable ThreadPatch thread)
      Sets Thread: The thread that is executing the process for the debug session. (nested, for a deep insert)
      Parameters:
      thread - the value; null sends an explicit null
      Returns:
      this builder
    • bindThread

      public ProcessDebugContextPatch.Builder bindThread(ODataPath target)
      Binds Thread to an existing entity (Thread@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • build

      public ProcessDebugContextPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch