Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HostedInstanceManager

Is responsible for running and handling separate Theia instance with given plugin.

Hierarchy

  • HostedInstanceManager

Index

Methods

  • getInstanceURI(): URI
  • getPluginURI(): URI
  • isPluginValid(uri: URI): boolean
  • isRunning(): boolean
  • run(pluginUri: URI, port?: number): Promise<URI>
  • Runs specified by the given uri plugin in separate Theia instance.

    Parameters

    • pluginUri: URI

      uri to the plugin source location

    • Optional port: number

      port on which new instance of Theia should be run. Optional.

    Returns Promise<URI>

    uri where new Theia instance is run

  • terminate(): void