Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NullTaskRef

Hierarchy

Index

Constructors

constructor

Properties

$fn

$fn: object | Function = ...

$source

$source: any

Readonly metaType

metaType: METADATA_TYPE

Readonly name

name: string

namespace

namespace: string

Readonly object

object: IClassRef

Accessors

_type

  • get _type(): TaskRefType
  • set _type(type: TaskRefType): void

description

  • get description(): string
  • set description(value: string): void

machineName

  • get machineName(): string
  • Returns string

nodeInfos

  • get nodeInfos(): ITaskRefNodeInfo[]
  • set nodeInfos(nodes: ITaskRefNodeInfo[]): void

permissions

  • get permissions(): string[]
  • set permissions(value: string[]): void

storingName

  • get storingName(): any
  • Returns any

Methods

addNodeId

  • addNodeId(nodeId: string, hasWorker?: boolean): void

build

  • build<T>(instance: any, options?: IBuildOptions): T

canHaveProperties

  • canHaveProperties(): boolean

clone

  • clone(name: string): any

create

  • create<T>(): T

dependencies

  • dependencies(): string[]

dependsOn

executable

  • executable(incoming?: {}): [object | Function, any]

getClass

  • getClass(create?: boolean): Function
  • Parameters

    • Optional create: boolean

    Returns Function

getClassRef

  • getClassRef(): IClassRef
  • Returns IClassRef

getClassRefFor

  • getClassRefFor(object: string | Function | IClassRef, type: METADATA_TYPE): IClassRef

getFn

  • getFn(): any

getIncomings

getNamespace

  • getNamespace(): string
  • Returns string

getOptions

  • getOptions(key?: string, defaultValue?: any): any
  • Parameters

    • Optional key: string
    • Optional defaultValue: any

    Returns any

Protected getOptionsEntry

  • getOptionsEntry(): any
  • Returns any

getOutgoings

getPropertyRef

getPropertyRefs

getRegistry

  • getRegistry(): ILookupRegistry

getRuntime

getSchemaRefs

  • getSchemaRefs(): ISchemaRef[]

getSourceRef

  • getSourceRef(): IClassRef
  • Returns IClassRef

getType

  • getType(): TaskRefType

group

grouping

  • grouping(): any[]

groups

  • groups(): any[]

hasNodeIds

  • hasNodeIds(): boolean

hasOption

  • hasOption(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

hasTargetNodeId

  • hasTargetNodeId(nodeId: string, withWorker?: boolean): boolean

hasWorker

  • hasWorker(): boolean

id

  • id(): string

info

isOf

  • isOf(instance: any): boolean

isRemote

  • isRemote(): boolean

prepare

  • prepare(name?: any, fn?: object | Function): void

removeNodeId

  • removeNodeId(nodeId: string): void

setOption

  • setOption(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

setOptions

  • setOptions(options: any): void
  • Parameters

    • options: any

    Returns void

subtasks

  • subtasks(): any[]

toJsonSchema

  • toJsonSchema(withProperties?: boolean): IJsonSchema7

Static dependsOn

  • dependsOn(src: string, dest: string, namespace?: string): void

Static getTaskName

  • getTaskName(x: string | object | Function): any

Static getTaskObject

  • getTaskObject(name: string | object | Function, fn: object | Function): Function

Static group

  • group(src: string, dest: string, namespace?: string): typeof TaskRef

Generated using TypeDoc