logo

abstract class

fand::BootScript

sys::Obj
  fand::BootScript

BootScript is the base class for the scripts used to boot up a fand process.

Slots

log

Log log := Log.?("fand")

Boot script log

Source

main

Int main()

Source

make

new make()

Construct a new build script.

Source

run

virtual Void run()

Run the script

Source

scriptDir

File scriptDir := this.scriptFile.parent

The directory containing the this script

Source

scriptFile

File scriptFile := File.?((sys::Uri)this.type()->sourceFile()->toUri())

The source file of this script

Source

services

abstract Thread[] services

The services are the list of threads to spawn on startup.

Source

setup

virtual Void setup()

The setup callback is for initializing the application.

Source

startServices

virtual Void startServices()

Start all the threads

Source