BenchTasks Class |
Namespace: Mastersign.Bench
The BenchTasks type exposes the following members.
Name | Description | |
---|---|---|
IsDashboardSupported |
Checks, whether the installed .NET framework has at least the version 4.5,
and therefore supports the BenchDashboard user interface.
|
Name | Description | |
---|---|---|
AskForBenchCloneTargetDirectory |
Shows a simple UI to ask for the target directory for a new Bench environment.
| |
DeleteAppLibraries |
Deletes the loaded and cached app libraries
in preparation for re-loading them for an update or a repair.
| |
DoAutoSetup |
Runs the Bench task of automatically setting up all active apps including downloading missing resources,
and setting up the environment afterwards.
| |
DoCleanUpAppResources |
Runs the Bench task of deleting all cached app resources, not referenced by any app anymore.
These app resources where typically downloaded before the definition of some apps where updated,
now referencing to newer release versions.
| |
DoCloneBenchEnvironment |
Creates a clone of a given Bench environment, including a specific selection of directories and files.
| |
DoDeleteAppResources(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of deleting all cached app resources.
| |
DoDeleteAppResources(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of deleting the cached app resource of a specific app.
| |
DoDownloadAllAppResources |
Runs the Bench task of downloading the missing app resources of all apps known to Bench,
whether tey are active or not.
| |
DoDownloadAppResources(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of downloading the missing app resources of all active apps.
| |
DoDownloadAppResources(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of downloading the missing app resource of a specific app.
| |
DoDownloadBenchUpdate |
Runs the Bench task of downloading the latest Bench binary and bootstrap file.
| |
DoExportBenchEnvironment |
Creates a transfer package of a given Bench environment, including a specific selection of directories and files.
| |
DoInstallApps(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of installing all active apps, not installed already.
| |
DoInstallApps(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of installing a specific app, including all of its dependencies.
| |
DoLoadAppLibraries |
Runs the Bench task of downloading and extracting the app libraries.
| |
DoReinstallApps(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of uninstalling all installed apps and then installing all active apps.
| |
DoReinstallApps(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of uninstalling a specific app and all apps, depending on it,
and then installing the specified app.
| |
DoSetupRequiredApps |
Runs the Bench task of setting up only the apps, required of the Bench system itself.
| |
DoUninstallApps(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of uninstalling all installed apps.
| |
DoUninstallApps(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of uninstalling a specific app, including all apps, depending on the specified one.
| |
DoUpdateEnvironment |
Runs the Bench task of setting up the environment, including the generation of env.cmd,
(re)creating all launcher scripts and shortcuts, and running the custom environment scripts
of all active apps.
| |
DoUpgradeApps(IBenchManager, ActionTaskInfo, Cancelation) |
Runs the Bench task of upgrading all upgradable apps.
An app is upgradable if CanUpgrade is true.
| |
DoUpgradeApps(IBenchManager, String, ActionTaskInfo, Cancelation) |
Runs the Bench task of upgrading a specific app.
| |
DownloadFile |
Downloads a file via HTTP(S).
| |
DownloadFileAsync |
Downloads a file via HTTP(S) asynchronously.
| |
DownloadString |
Downloads a string via HTTP(S).
| |
DownloadStringAsync |
Downloads a string via HTTP(S) asynchronously.
| |
GetLatestVersion |
Downloads the version number of the latest Bench release.
| |
GetLatestVersionAsync |
Downloads the version number of the latest Bench release asynchronously.
| |
InitializeDownloader |
Creates a new instance of Downloader properly configured,
according to the given Bench configuration.
| |
InitializeSiteConfiguration |
This method is the first step for initializing or upgrading a Bench installation.
| |
InitializeUserConfiguration |
This method is the last fourth for initializing or upgrading a Bench installation.
| |
InitiateInstallationBootstrap |
Starts the boostrap script for (re)installing the Bench system.
This requires the bench-install.bat and the bench.zip
to be stored in the Bench root directory.
| |
InstallBenchEnvironment |
Copies all files from an extracted transfer package to a target directory and kicks-off the initialization.
| |
LaunchApp |
Launches the launcher executable of the specified app.
|
Name | Description | |
---|---|---|
UninstallBlacklist |
A list with app IDs which will not be uninstalled during Bench tasks.
|