Appearance
Sit
The Sit object holds information about the situate instance.
Instance Methods
getDomainSetting(settingName) → String
Returns the value of a domain setting set in the UI. This is the same as properties found in the extended data/extended-config.properties.
Returns: String - The setting's value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| settingName | String | The name of the setting to retrieve. |
getSetting(settingName) → String
Returns the value of system settings from /etc/situate.conf
Returns: String - The setting's value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| settingName | String | The name of the setting to retrieve. |
getHostname() → String
Returns the hostname used to access the server.
Returns: String - The hostname
getDomain() → String
Returns the name of the situate domain.
Returns: String - The domain name
getAuthenticates() → String
Returns the auth service the server uses to login new users.
Returns: String - The auth service.
getLicenseValue(key) → String
Returns the the value of a license parameter given a key.
Returns: String - The license value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | String | The value from the license to get |
path() → String
Returns the path on the situate server into which situate was installed.
Returns: String - The installation path
propertyValue() → String
Returns the property value from situate.properties
Returns: String - The value of the property