Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FolderNest

Hierarchy

Index

Constructors

constructor

Properties

Protected allowCreate

allowCreate: boolean

Protected e

Protected id

id: string

Protected name

name: string

Protected path

path: string

Protected tunnel

tunnel: Tunnel

Methods

arrive

Protected checkDirectorySync

  • checkDirectorySync(directory: any): void
  • Check if the path for the backing folder is created. If not, optionally create it.

    Parameters

    • directory: any

    Returns void

Protected createJob

  • createJob(path: string, arrive?: boolean): any

getId

  • getId(): string

getName

  • getName(): string

getTunnel

getUnwatchedJobs

  • getUnwatchedJobs(): Array<any>
  • Loads jobs that have piled up in the nest if it was not watched.

    Returns Array<any>

    Array of jobs

load

  • load(): void

register

  • register(tunnel: Tunnel): void

take

  • take(job: FileJob, callback: any): void

toString

  • toString(): string

watch

  • watch(): void

Generated using TypeDoc