This class exposes environment settings about the Add-ons Manager, the PLF server, the system, ...
| Type | Name and description |
|---|---|
java.io.File |
addonsDirectoryThe path where add-ons are stored |
java.io.File |
archivesDirectoryThe path where add-ons archives are stored |
java.io.File |
catalogsCacheDirectoryWhere are cached remote catalogs |
java.io.File |
localAddonsCatalogFileThe path to the local catalog |
AddonsManagerSettings |
manager |
java.io.File |
overwrittenFilesDirectoryWhere overwritten files are stored |
PlatformSettings |
platform |
java.io.File |
statusesDirectoryThe path where add-ons statuses are stored |
java.io.File |
versionsDirectoryThe path where add-ons manager old versions are stored |
| Constructor and description |
|---|
EnvironmentSettings
()Default constructor using default AddonsManagerSettings and PlatformSettings |
EnvironmentSettings
(AddonsManagerSettings managerSettings, PlatformSettings platformSettings)Instantiates it with custom @{code managerSettings} and @{code platformSettings} |
| Type | Name and description |
|---|---|
java.net.URL |
getRemoteCatalogUrl()Returns the URL to the remote catalog |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The path where add-ons are stored
The path where add-ons archives are stored
Where are cached remote catalogs
The path to the local catalog
Where overwritten files are stored
The path where add-ons statuses are stored
The path where add-ons manager old versions are stored
Default constructor using default AddonsManagerSettings and PlatformSettings
Instantiates it with custom @{code managerSettings} and @{code platformSettings}
managerSettings - manager settingsplatformSettings - platform settingsGroovy Documentation