KADABRA API

LARA API

LARA Common Language API

System

System

System

Static Members

defaultPrintToConsole

defaultPrintToConsole

Controls whether by default, if the execution of commands should print the output to the console


execute

execute(command, workingDir, printToConsole, outputFile, append, timeout, timeunit)

Parameters

command: any
workingDir: any
printToConsole: any
outputFile: any
append: any
timeout: any
timeunit: any

getCurrentPlatform

getCurrentPlatform()

Returns the name of the platform where this code is executing


getEnv

getEnv(variable)

Read an environment variable.

Parameters

variable: string - name of the environment variable

Returns

string - the value for the given environment variable name, or undefined if not present

getExecutable

getExecutable(foldername)

This function is deprecated.

Parameters

foldername: any

getExecutableFile

getExecutableFile(executableName, executableFolder, isInPath)

Parameters

executableName: any
executableFolder: any
isInPath: any

getExecutableName

getExecutableName(baseName)

This function is deprecated.

Parameters

baseName: any

getNumLogicalCores

getNumLogicalCores()

nanos

nanos()

Returns

any - the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds

prepareExe

prepareExe(executable)

Parameters

executable: any

sleep

sleep(durantionMilis)

Parameters

durantionMilis: any

toc

toc(nanoStart, message)

Parameters

nanoStart: any
message: any