InMemoryAppLoader

An AppLoader serving a fixed set of apps, each under its App.appName. Construction throws IllegalArgumentException if two apps share a name.

Constructors

Link copied to clipboard
constructor(vararg apps: App)

Functions

Link copied to clipboard
open override fun listApps(): List<String>

The names of the available apps; each must be a valid app name. Empty if there are none.

Link copied to clipboard
open override fun loadApp(appName: String): App?

The app served as appName, or null if there is none.