Class Registration

java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.Registration

public class Registration extends JSONBase
General parameters to to register for an notification or to register a provider.
  • Method Details

    • getId

      public String getId()
      The id used to register the request. The id can be used to deregister the request again.
    • setId

      public Registration setId(String id)
    • getMethod

      public String getMethod()
      The method to register for.
    • setMethod

      public Registration setMethod(String method)
    • getRegisterOptions

      public Object getRegisterOptions()
      Options necessary for the registration.
    • setRegisterOptions

      public Registration setRegisterOptions(Object registerOptions)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static Registration create(String id, String method)