Packages

t

org.mulesoft.language.server.core.connections

AbstractServerConnection

trait AbstractServerConnection extends IServerConnection

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractServerConnection
  2. IServerConnection
  3. ILogger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def content(fullPath: String): Future[String]

    File contents by full path/url.

    File contents by full path/url.

    Definition Classes
    IServerConnection
  2. abstract def debug(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG severity message.

    Logs a DEBUG severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  3. abstract def debugDetail(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_DETAIL severity message.

    Logs a DEBUG_DETAIL severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  4. abstract def debugOverview(message: String, component: String, subcomponent: String): Unit

    Logs a DEBUG_OVERVIEW severity message.

    Logs a DEBUG_OVERVIEW severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  5. abstract def detailsAvailable(report: IDetailsReport): Unit

    Reports new calculated details when available.

    Reports new calculated details when available.

    report

    - details report.

    Definition Classes
    IServerConnection
  6. abstract def displayActionUI(uiDisplayRequest: IUIDisplayRequest): Future[Any]

    Adds a listener to display action UI.

    Adds a listener to display action UI.

    uiDisplayRequest

    - display request

    returns

    final UI state.

    Definition Classes
    IServerConnection
  7. abstract def error(message: String, component: String, subcomponent: String): Unit

    Logs an ERROR severity message.

    Logs an ERROR severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  8. abstract def exists(path: String): Future[Boolean]

    Returns whether path/url exists.

    Returns whether path/url exists.

    Definition Classes
    IServerConnection
  9. abstract def isDirectory(path: String): Future[Boolean]

    Returns whether path/url represents a directory

    Returns whether path/url represents a directory

    Definition Classes
    IServerConnection
  10. abstract def log(message: String, severity: common.logger.MessageSeverity.Value, component: String, subcomponent: String): Unit

    Logs a message

    Logs a message

    message

    - message text

    severity

    - message severity

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger
  11. abstract def onDocumentDetails(listener: (String, Int) ⇒ Future[IDetailsItem], unsubscribe: Boolean = false): Unit

    Adds a listener to document details request.

    Adds a listener to document details request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[DetailsItemJSON]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    IServerConnection
  12. abstract def readDir(path: String): Future[Seq[String]]

    Returns directory content list.

    Returns directory content list.

    Definition Classes
    IServerConnection
  13. abstract def setLoggerConfiguration(loggerSettings: ILoggerSettings): Unit

    Sets logger configuration, both for the server and for the client.

    Sets logger configuration, both for the server and for the client.

    Definition Classes
    ILogger
  14. abstract def structureAvailable(report: IStructureReport): Unit

    Reports new calculated structure when available.

    Reports new calculated structure when available.

    report

    - structure report.

    Definition Classes
    IServerConnection
  15. abstract def validated(report: IValidationReport): Unit

    Reports latest validation results

    Reports latest validation results

    Definition Classes
    IServerConnection
  16. abstract def warning(message: String, component: String, subcomponent: String): Unit

    Logs a WARNING severity message.

    Logs a WARNING severity message.

    message

    - message text

    component

    - component name

    subcomponent

    - sub-component name

    Definition Classes
    ILogger

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addListener[T](memberListeners: Buffer[T], listener: T, unsubscribe: Boolean = false): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val calculateEditorContextActionsListeners: Buffer[(String, Int) ⇒ Future[Seq[IExecutableAction]]]
    Attributes
    protected
  7. val changeDetailValueListeners: Buffer[(String, Int, String, AnyVal) ⇒ Future[Seq[IChangedDocument]]]
    Attributes
    protected
  8. val changeDocumentListeners: Buffer[(IChangedDocument) ⇒ Unit]
    Attributes
    protected
  9. val changePositionListeners: Buffer[(String, Int) ⇒ Unit]
    Attributes
    protected
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val closeDocumentListeners: Buffer[(String) ⇒ Unit]
    Attributes
    protected
  12. val documentCompletionListeners: Buffer[(String, Int) ⇒ Future[Seq[ISuggestion]]]
    Attributes
    protected
  13. val documentDetailsListeners: Buffer[(String, Int) ⇒ Future[Seq[ISuggestion]]]
    Attributes
    protected
  14. val documentStructureListeners: Buffer[(String) ⇒ Future[Map[String, StructureNodeJSON]]]
    Attributes
    protected
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. val executeContextActionListeners: Buffer[(String, String, Int) ⇒ Future[Seq[IChangedDocument]]]
    Attributes
    protected
  18. val executeDetailsActionListeners: Buffer[(String, String, Int) ⇒ Future[Seq[IChangedDocument]]]
    Attributes
    protected
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val findReferencesListeners: Buffer[(String, Int) ⇒ Future[Seq[ILocation]]]
    Attributes
    protected
  21. val getAllEditorContextActionsListeners: Buffer[() ⇒ Future[Seq[IExecutableAction]]]
    Attributes
    protected
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val markOccurrencesListeners: Buffer[(String, Int) ⇒ Future[Seq[IRange]]]
    Attributes
    protected
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. def onAllEditorContextActions(listener: () ⇒ Future[Seq[IExecutableAction]], unsubscribe: Boolean = false): Unit

    Calculates the list of all available executable actions.

    Calculates the list of all available executable actions.

    listener

    () => Future[Seq[IExecutableAction] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  30. def onCalculateEditorContextActions(listener: (String, Int) ⇒ Future[Seq[IExecutableAction]], unsubscribe: Boolean = false): Unit

    Calculates the list of executable actions available in the current context.

    Calculates the list of executable actions available in the current context.

    listener

    (uri: string, position?: number) => Future[Seq[IExecutableAction] ]. Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  31. def onChangeDetailValue(listener: (String, Int, String, AnyVal) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Adds a listener to document details value change request.

    Adds a listener to document details value change request.

    listener

    (uri: String, position: Int, itemID: String, value: String | Int | Boolean) => Future[Seq[IChangedDocument] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  32. def onChangeDocument(listener: (IChangedDocument) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document change notification.

    Adds a listener to document change notification. Must notify listeners in order of registration.

    listener

    (document: IChangedDocument) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  33. def onChangePosition(listener: (String, Int) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document cursor position change notification.

    Adds a listener to document cursor position change notification. Must notify listeners in order of registration.

    listener

    (uri: string, position: number) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  34. def onCloseDocument(listener: (String) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document close notification.

    Adds a listener to document close notification. Must notify listeners in order of registration.

    listener

    (uri: String) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  35. def onDocumentCompletion(listener: (String, Int) ⇒ Future[Seq[ISuggestion]], unsubscribe: Boolean = false): Unit

    Adds a listener to document completion request.

    Adds a listener to document completion request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[Seq[Suggestion] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  36. def onDocumentStructure(listener: (String) ⇒ Future[Map[String, StructureNodeJSON]], unsubscribe: Boolean = false): Unit

    Adds a listener to document structure request.

    Adds a listener to document structure request. Must notify listeners in order of registration.

    listener

    (uri: String) => Future[Map[String, StructureNodeJSON] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  37. def onExecuteContextAction(listener: (String, String, Int) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean): Unit

    Adds a listener for specific action execution.

    Adds a listener for specific action execution.

    listener

    (uri: string, actionId: string, position?: number). Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  38. def onExecuteDetailsAction(listener: (String, String, Int) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Adds a listener for specific details action execution.

    Adds a listener for specific details action execution.

    listener

    (uri: string, actionId: string, position: number) => Future[Seq[IChangedDocument] ]. Position is optional, -1 if not available.

    unsubscribe

    - if true, existing listener will be removed. False by default. If not provided, the last reported by positionChanged method will be used.

    Definition Classes
    AbstractServerConnectionIServerConnection
  39. def onFindReferences(listener: (String, Int) ⇒ Future[Seq[ILocation]], unsubscribe: Boolean): Unit

    Adds a listener to document find references request.

    Adds a listener to document find references request. Must notify listeners in order of registration.

    listener

    (uri: string, position: number) => Future[Seq[ILocation] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  40. def onMarkOccurrences(listener: (String, Int) ⇒ Future[Seq[IRange]], unsubscribe: Boolean = false): Unit

    Marks occurrences of a symbol under the cursor in the current document.

    Marks occurrences of a symbol under the cursor in the current document.

    listener

    (uri: String, position: Int) => Future[Seq[IRange] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  41. def onOpenDeclaration(listener: (String, Int) ⇒ Future[Seq[ILocation]], unsubscribe: Boolean): Unit

    Adds a listener to document open declaration request.

    Adds a listener to document open declaration request. Must notify listeners in order of registration.

    listener

    (uri: String, position: Int) => Future[Seq[ILocation] ]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  42. def onOpenDocument(listener: (IOpenedDocument) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Adds a listener to document open notification.

    Adds a listener to document open notification. Must notify listeners in order of registration.

    listener

    (document: IOpenedDocument) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  43. def onRename(listener: (String, Int, String) ⇒ Future[Seq[IChangedDocument]], unsubscribe: Boolean = false): Unit

    Finds the set of document (and non-document files) edits to perform the requested rename.

    Finds the set of document (and non-document files) edits to perform the requested rename.

    listener

    (uri: String, position: Int, newName: String) => Seq[IChangedDocument]

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  44. def onSetServerConfiguration(listener: (IServerConfiguration) ⇒ Unit, unsubscribe: Boolean = false): Unit

    Sets server configuration.

    Sets server configuration.

    listener

    (IServerConfiguration) => Unit

    unsubscribe

    - if true, existing listener will be removed. False by default.

    Definition Classes
    AbstractServerConnectionIServerConnection
  45. val openDeclarationListeners: Buffer[(String, Int) ⇒ Future[Seq[ILocation]]]
    Attributes
    protected
  46. val openDocumentListeners: Buffer[(IOpenedDocument) ⇒ Unit]
    Attributes
    protected
  47. val renameListeners: Buffer[(String, Int, String) ⇒ Future[Seq[IChangedDocument]]]
    Attributes
    protected
  48. val serverConfigurationListeners: Buffer[(IServerConfiguration) ⇒ Unit]
    Attributes
    protected
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IServerConnection

Inherited from ILogger

Inherited from AnyRef

Inherited from Any

Ungrouped