|
OpenTAP 9.31
API Reference
|
Base class for ICliActions that use a mutex to lock the Target directory for the duration of the command. More...
Public Member Functions | |
| override int | Execute (CancellationToken cancellationToken) |
| Executes this the action. Derived types should override LockedExecute instead of this. More... | |
Public Member Functions inherited from OpenTap.Package.PackageAction | |
| delegate void | ProgressUpdateDelegate (int progressPercent, string message) |
| A delegate used by ProgressUpdate More... | |
| delegate void | ErrorDelegate (Exception ex) |
| A delegate type used by the Error event. More... | |
Static Public Member Functions | |
| static Mutex | GetMutex (string target) |
| Get the named mutex used to lock the specified OpenTAP installation directory while it is being changed. More... | |
| static bool | RunIsolated (string application=null, string target=null) |
| Only here for compatibility. Use IsolatedPackageAction instead of calling this. | |
Protected Member Functions | |
| abstract int | LockedExecute (CancellationToken cancellationToken) |
| The code to be executed by the action while the Target directory is locked. More... | |
Protected Member Functions inherited from OpenTap.Package.PackageAction | |
| void | RaiseError (Exception ex) |
| Call this to raise the Error event. More... | |
| void | RaiseProgressUpdate (int progressPercent, string message) |
| Call this to raise the ProgressUpdate event. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from OpenTap.Package.PackageAction | |
| static TraceSource | log = OpenTap.Log.CreateSource("PackageAction") |
| Log source for PackageAction plugins. | |
Events inherited from OpenTap.Package.PackageAction | |
| ProgressUpdateDelegate | ProgressUpdate |
| Called by the action to indicate how far it has gotten. Will usually be called with a progressPercent of 100 to indicate that it is done. | |
| ErrorDelegate | Error |
| Called when a critical error happens. | |
Base class for ICliActions that use a mutex to lock the Target directory for the duration of the command.
|
inlinevirtual |
Executes this the action. Derived types should override LockedExecute instead of this.
Implements OpenTap.Package.PackageAction.
|
inlinestatic |
Get the named mutex used to lock the specified OpenTAP installation directory while it is being changed.
| target | The OpenTAP installation directory |
|
protectedpure virtual |
The code to be executed by the action while the Target directory is locked.
Implemented in OpenTap.Package.CacheAction.
OpenTAP 9.31 API built Fri Oct 17 2025 07:12:37