public class ProgressParams
extends java.lang.Object
Constructor and Description |
---|
ProgressParams() |
ProgressParams(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> token,
org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> |
getToken()
The progress token provided by the client or server.
|
org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> |
getValue()
The progress data.
|
int |
hashCode() |
void |
setToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> token)
The progress token provided by the client or server.
|
void |
setToken(java.lang.Integer token) |
void |
setToken(java.lang.String token) |
void |
setValue(org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> value)
The progress data.
|
java.lang.String |
toString() |
public ProgressParams()
public ProgressParams(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> token, org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> value)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> getToken()
public void setToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> token)
public void setToken(java.lang.String token)
public void setToken(java.lang.Integer token)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> getValue()
public void setValue(org.eclipse.lsp4j.jsonrpc.messages.Either<WorkDoneProgressNotification,java.lang.Object> value)
@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