Config

Stores the configuration key/values and the used profiles from the configuration files.

Members

Functions

addProfiles
void addProfiles(string[] profiles)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string key, T defaultValue)

Gets a configuration value from its key.

hasProfile
bool hasProfile(string profile)

Indicates whether a profile is active.

hasProfile
bool hasProfile(string[] profiles)

Indicates whether at least one of the profiles in the given array is active.

Properties

profiles
string[] profiles [@property getter]

Gets the active profiles, read from the scorpion.profiles properties and from the ProfilesConfiguration configuration.

Static functions

load
Config load()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta