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, onValidateUpload
public void onDownload(OnDownloadInput ctx) throws TriggerAbort
Trigger
onDownload
in class Trigger
ctx
- 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 Trigger
Copyright ? Technia AB. All Rights Reserved.