public abstract class WorkDoneProgressAndPartialResultParams extends java.lang.Object implements WorkDoneProgressParams, PartialResultParams
Since 3.15.0
Constructor and Description |
---|
WorkDoneProgressAndPartialResultParams() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> |
getPartialResultToken()
An optional token that a server can use to report partial results (e.g.
|
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> |
getWorkDoneToken()
An optional token that a server can use to report work done progress.
|
int |
hashCode() |
void |
setPartialResultToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> partialResultToken)
An optional token that a server can use to report partial results (e.g.
|
void |
setPartialResultToken(java.lang.Integer partialResultToken) |
void |
setPartialResultToken(java.lang.String partialResultToken) |
void |
setWorkDoneToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> workDoneToken)
An optional token that a server can use to report work done progress.
|
void |
setWorkDoneToken(java.lang.Integer workDoneToken) |
void |
setWorkDoneToken(java.lang.String workDoneToken) |
java.lang.String |
toString() |
public WorkDoneProgressAndPartialResultParams()
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> getWorkDoneToken()
getWorkDoneToken
in interface WorkDoneProgressParams
public void setWorkDoneToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> workDoneToken)
setWorkDoneToken
in interface WorkDoneProgressParams
public void setWorkDoneToken(java.lang.String workDoneToken)
public void setWorkDoneToken(java.lang.Integer workDoneToken)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> getPartialResultToken()
getPartialResultToken
in interface PartialResultParams
public void setPartialResultToken(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,java.lang.Integer> partialResultToken)
setPartialResultToken
in interface PartialResultParams
public void setPartialResultToken(java.lang.String partialResultToken)
public void setPartialResultToken(java.lang.Integer partialResultToken)
@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