Class ProgressStartEvent.EventBody
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ProgressStartEvent.EventBody
- Enclosing class:
ProgressStartEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressStartEvent.EventBodybooleanIf true, the request that reports progress may be canceled with a 'cancel' request.Optional, more detailed progress message.Optional progress percentage to display (value range: 0 to 100).An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting.The request ID that this progress report is related to.getTitle()Mandatory (short) title of the progress reporting.inthashCode()setCancellable(Boolean cancellable) setMessage(String message) setPercentage(Integer percentage) setProgressId(String progressId) setRequestId(Integer requestId)
-
Method Details
-
getProgressId
An ID that must be used in subsequent 'progressUpdate' and 'progressEnd' events to make them refer to the same progress reporting. IDs must be unique within a debug session. -
setProgressId
-
getTitle
Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation. -
setTitle
-
getRequestId
The request ID that this progress report is related to. If specified a debug adapter is expected to emit progress events for the long running request until the request has been either completed or cancelled. If the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter. -
setRequestId
-
getCancellable
If true, the request that reports progress may be canceled with a 'cancel' request. So this property basically controls whether the client should use UX that supports cancellation. Clients that don't support cancellation are allowed to ignore the setting. -
setCancellable
-
getMessage
Optional, more detailed progress message. -
setMessage
-
getPercentage
Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown. -
setPercentage
-
equals
-
hashCode
public int hashCode() -
create
-