Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/remote
electron-node/setup/remote-node-setup-service
RemoteNodeSetupService
Class RemoteNodeSetupService
Index
Constructors
constructor
Properties
request
Service
script
Service
Methods
download
Node
generate
Download
Script
get
Download
Path
get
Node
Directory
Name
get
Node
File
Extension
get
Node
File
Name
get
Platform
Name
throw
Platform
Error
validate
Platform
Constructors
constructor
new
RemoteNodeSetupService
()
:
RemoteNodeSetupService
Returns
RemoteNodeSetupService
Properties
Protected
Readonly
request
Service
requestService
:
RequestService
Protected
Readonly
script
Service
scriptService
:
RemoteSetupScriptService
Methods
download
Node
downloadNode
(
platform
:
RemotePlatform
,
downloadTemplate
?:
string
,
)
:
Promise
<
string
>
Parameters
platform
:
RemotePlatform
Optional
downloadTemplate
:
string
Returns
Promise
<
string
>
generate
Download
Script
generateDownloadScript
(
platform
:
RemotePlatform
,
targetPath
:
string
,
downloadTemplate
?:
string
,
)
:
string
Parameters
platform
:
RemotePlatform
targetPath
:
string
Optional
downloadTemplate
:
string
Returns
string
Protected
get
Download
Path
getDownloadPath
(
platform
:
RemotePlatform
,
downloadTemplate
?:
string
)
:
string
Parameters
platform
:
RemotePlatform
Optional
downloadTemplate
:
string
Returns
string
get
Node
Directory
Name
getNodeDirectoryName
(
platform
:
RemotePlatform
)
:
string
Parameters
platform
:
RemotePlatform
Returns
string
Protected
get
Node
File
Extension
getNodeFileExtension
(
platform
:
RemotePlatform
)
:
string
Parameters
platform
:
RemotePlatform
Returns
string
get
Node
File
Name
getNodeFileName
(
platform
:
RemotePlatform
)
:
string
Parameters
platform
:
RemotePlatform
Returns
string
Protected
get
Platform
Name
getPlatformName
(
platform
:
RemotePlatform
)
:
string
Parameters
platform
:
RemotePlatform
Returns
string
Protected
throw
Platform
Error
throwPlatformError
(
platform
:
RemotePlatform
,
supportedArch
:
string
)
:
never
Parameters
platform
:
RemotePlatform
supportedArch
:
string
Returns
never
Protected
validate
Platform
validatePlatform
(
platform
:
RemotePlatform
)
:
void
Parameters
platform
:
RemotePlatform
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
request
Service
script
Service
Methods
download
Node
generate
Download
Script
get
Download
Path
get
Node
Directory
Name
get
Node
File
Extension
get
Node
File
Name
get
Platform
Name
throw
Platform
Error
validate
Platform
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...