public class WorkDoneProgressBegin extends java.lang.Object implements WorkDoneProgressNotification
| Constructor and Description |
|---|
WorkDoneProgressBegin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCancellable()
Controls if a cancel button should show to allow the user to cancel the
long running operation.
|
WorkDoneProgressKind |
getKind()
Always return begin
|
java.lang.String |
getMessage()
Optional, more detailed associated progress message.
|
java.lang.Integer |
getPercentage()
Optional progress percentage to display (value 100 is considered 100%).
|
java.lang.String |
getTitle()
Mandatory title of the progress operation.
|
int |
hashCode() |
void |
setCancellable(java.lang.Boolean cancellable)
Controls if a cancel button should show to allow the user to cancel the
long running operation.
|
void |
setMessage(java.lang.String message)
Optional, more detailed associated progress message.
|
void |
setPercentage(java.lang.Integer percentage)
Optional progress percentage to display (value 100 is considered 100%).
|
void |
setTitle(java.lang.String title)
Mandatory title of the progress operation.
|
java.lang.String |
toString() |
public WorkDoneProgressKind getKind()
getKind in interface WorkDoneProgressNotification@Pure public java.lang.String getTitle()
public void setTitle(java.lang.String title)
@Pure public java.lang.Boolean getCancellable()
public void setCancellable(java.lang.Boolean cancellable)
@Pure public java.lang.String getMessage()
title.
Examples: "3/25 files", "project/src/module2", "node_modules/some_dep".
If unset, the previous progress message (if any) is still valid.public void setMessage(java.lang.String message)
title.
Examples: "3/25 files", "project/src/module2", "node_modules/some_dep".
If unset, the previous progress message (if any) is still valid.@Pure public java.lang.Integer getPercentage()
public void setPercentage(java.lang.Integer percentage)
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object