Class ProcessDebugContextPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.ProcessDebugContextPatch.Builder
- Enclosing class:
ProcessDebugContextPatch
Builds a
ProcessDebugContextPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionbindBreakpoints(ODataPath... targets) BindsBreakpointsto existing entities (Breakpoints@odata.bind).bindCallStack(ODataPath... targets) BindsCallStackto existing entities (CallStack@odata.bind).bindCurrentBreakpoint(ODataPath target) BindsCurrentBreakpointto an existing entity (CurrentBreakpoint@odata.bind).bindProcess(ODataPath target) BindsProcessto an existing entity (Process@odata.bind).bindThread(ODataPath target) BindsThreadto an existing entity (Thread@odata.bind).breakpoints(@Nullable List<? extends ProcessDebugContextBreakpointPatch> breakpoints) SetsBreakpoints: A list of breakpoints that apply to this debug session.build()The patch, with what's been set so far.callStack(@Nullable List<ProcessDebugContextStackFramePatch> callStack) SetsCallStack: The execution stack that represents the current execution state.currentBreakpoint(@Nullable ProcessDebugContextBreakpointPatch currentBreakpoint) SetsCurrentBreakpoint: The breakpoint that the process is currently paused at.SetsID: theIDpropertylastActivityDuration(@Nullable Long lastActivityDuration) SetsLastActivityDuration: The number of milliseconds that have elapsed since the last debug action.objectLocks(@Nullable List<ProcessDebugContextObjectLockPatch> objectLocks) SetsObjectLocks: A collection of object locks that are held by the TurboIntegrator process under debug.process(@Nullable ProcessPatch process) SetsProcess: The TurboIntegrator process passed to the debug action.result(@Nullable ProcessExecuteResultPatch result) SetsResult: Once the process execution has completed this contains the execution results.status(@Nullable ProcessDebugContextStatus status) SetsStatus: The state of the process that is being debugged.thread(@Nullable ThreadPatch thread) SetsThread: The thread that is executing the process for the debug session.
-
Method Details
-
id
SetsID: theIDproperty- Parameters:
id- the value;nullsends an explicitnull- Returns:
- this builder
-
status
SetsStatus: The state of the process that is being debugged.- Parameters:
status- the value;nullsends an explicitnull- Returns:
- this builder
-
lastActivityDuration
SetsLastActivityDuration: The number of milliseconds that have elapsed since the last debug action.- Parameters:
lastActivityDuration- the value;nullsends an explicitnull- Returns:
- this builder
-
objectLocks
public ProcessDebugContextPatch.Builder objectLocks(@Nullable List<ProcessDebugContextObjectLockPatch> objectLocks) SetsObjectLocks: A collection of object locks that are held by the TurboIntegrator process under debug.- Parameters:
objectLocks- the value;nullsends an explicitnull- Returns:
- this builder
-
result
SetsResult: Once the process execution has completed this contains the execution results.- Parameters:
result- the value;nullsends an explicitnull- Returns:
- this builder
-
currentBreakpoint
public ProcessDebugContextPatch.Builder currentBreakpoint(@Nullable ProcessDebugContextBreakpointPatch currentBreakpoint) SetsCurrentBreakpoint: The breakpoint that the process is currently paused at. (nested, for a deep insert)- Parameters:
currentBreakpoint- the value;nullsends an explicitnull- Returns:
- this builder
-
bindCurrentBreakpoint
BindsCurrentBreakpointto an existing entity (CurrentBreakpoint@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
process
SetsProcess: The TurboIntegrator process passed to the debug action. (nested, for a deep insert)- Parameters:
process- the value;nullsends an explicitnull- Returns:
- this builder
-
bindProcess
BindsProcessto an existing entity (Process@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
callStack
public ProcessDebugContextPatch.Builder callStack(@Nullable List<ProcessDebugContextStackFramePatch> callStack) SetsCallStack: The execution stack that represents the current execution state. (nested, for a deep insert)- Parameters:
callStack- the value;nullsends an explicitnull- Returns:
- this builder
-
bindCallStack
BindsCallStackto existing entities (CallStack@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
breakpoints
public ProcessDebugContextPatch.Builder breakpoints(@Nullable List<? extends ProcessDebugContextBreakpointPatch> breakpoints) SetsBreakpoints: A list of breakpoints that apply to this debug session. (nested, for a deep insert)- Parameters:
breakpoints- the value;nullsends an explicitnull- Returns:
- this builder
-
bindBreakpoints
BindsBreakpointsto existing entities (Breakpoints@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
thread
SetsThread: The thread that is executing the process for the debug session. (nested, for a deep insert)- Parameters:
thread- the value;nullsends an explicitnull- Returns:
- this builder
-
bindThread
BindsThreadto an existing entity (Thread@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
build
-