Function to call to fail a job while in a tunnel.
Get the file basename.
Get the file content type.
Get the file directory name.
Get the file extension.
Get the file object.
Get the ID.
Get the life cycle object.
Get the file name.
Get the file name proper.
Get the nest.
Get the file path.
Get the tunnel.
Check if job is a file.
Check if job is a folder.
Check if job is locally available.
Moves a file to a nest. This is an asynchronous method which provides a callback on completion.
The nest object the job will be sent to.
The callback provides the updated instance of the job. Depending on the nest it was sent to, it may have been cast to a new job type. This is helpful in case you need the remote path to the job once it has been uploaded to S3, for example.
tunnel.run((job, nest) => {
console.log("Found job " + job.getName());
job.move(my_s3_bucket, (s3_job) => {
// Uploaded
console.log("Uploaded to " + s3_job.getPath());
});
});
Rename the job file to a new name.
Set if the job is locally available.
Set a new file name.
Set the nest.
Set a new file path.
Set the tunnel.
Class name for logging.
Transfer a job to another tunnel directly.
Generated using TypeDoc
Create a new life event.