public class TestTrigger extends Trigger
| Constructor and Description |
|---|
TestTrigger() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUpload(AfterUploadInput ctx) |
void |
onDownload(OnDownloadInput ctx)
This method is called upon a file has been requested for download.
|
afterDownload, getContext, onUpload, onValidateUploadpublic void onDownload(OnDownloadInput ctx) throws TriggerAbort
TriggeronDownload in class Triggerctx - The context which provides the
trigger with information around the file being checked out and
provides additional functionality to perform certain actions on
the client.TriggerAbort - If the trigger wants to abort the download, it
should throw an TriggerAbort exception.public void afterUpload(AfterUploadInput ctx)
afterUpload in class TriggerCopyright ? Technia AB. All Rights Reserved.