Skip to main content

Class: Platform

Constructors​

Constructor​

new Platform(name, buildConfigurationKey, nodeName): Platform

Parameters​

name​

string

buildConfigurationKey​

string

nodeName​

Platform

Returns​

Platform

Properties​

buildConfigurationKey​

buildConfigurationKey: string


name​

name: string


nodeName​

nodeName: Platform


LINUX​

static LINUX: Platform


MAC​

static MAC: Platform


WINDOWS​

static WINDOWS: Platform

Methods​

createTarget()​

createTarget(type?, ...archs): Map<Platform, Map<Arch, string[]>>

Parameters​

type?​

string | string[] | null

archs​

...Arch[]

Returns​

Map<Platform, Map<Arch, string[]>>


toString()​

toString(): string

Returns​

string


current()​

static current(): Platform

Returns​

Platform


fromString()​

static fromString(name): Platform

Parameters​

name​

string

Returns​

Platform