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 INSTALLPATH/data/extended-config.properties.
Returns: String - The setting's value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| settingName | String | The name of the setting to retrieve. |
getSystemSetting(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 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 |
getInstallPath() → String
Returns the path on the situate server into which situate was installed.
Returns: String - The installation path
getSituateProperty(name) → String
Returns the value of a property from situate.properties
Returns: String - The value of the property
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the property to retrieve. |