API Docs for: 0.9.3
Show:

PreceptorManager Class

Extends Base
Defined in: lib/manager.js:22

Methods

_initializeClientDecoratorRegistry

() private

Defined in lib/manager.js:123

Initializes the client-decorator registry

_initializeTaskDecoratorRegistry

() private

Defined in lib/manager.js:102

Initializes the options-decorator registry

_initializeTaskRegistry

() private

Defined in lib/manager.js:141

Initializes the task registry

_writeCoverage

(
  • coverageConfiguration
)
private

Defined in lib/manager.js:488

Write the coverage report collected

Parameters:

  • coverageConfiguration Object

augment

()

Defined in lib/manager.js:236

Augment data with default values

getClientDecorator

(
  • name
)
Function

Defined in lib/manager.js:326

Gets a specific registered client-decorator

Parameters:

Returns:

getClientDecoratorList

() Object

Defined in lib/manager.js:305

Gets a dictionary of registered client-decorator

Returns:

getConfig

() Config

Defined in lib/manager.js:177

Gets the configuration object

Returns:

getOptions

() Object

Defined in lib/manager.js:167

Gets the options

Returns:

getReportManager

() ReportManager

Defined in lib/manager.js:208

Gets the report-manager

Returns:

ReportManager:

getSharedTaskOptions

() Object

Defined in lib/manager.js:187

Gets all the shared options for tasks

Returns:

getTask

(
  • name
)
Function

Defined in lib/manager.js:382

Gets a specific registered task

Parameters:

Returns:

getTaskDecorator

(
  • name
)
Function

Defined in lib/manager.js:270

Gets a specific registered options-decorator

Parameters:

Returns:

getTaskDecoratorList

() Object

Defined in lib/manager.js:249

Gets a dictionary of registered options-decorator

Returns:

getTaskList

() Object

Defined in lib/manager.js:361

Gets a dictionary of registered tasks

Returns:

getTasks

() Object[]

Defined in lib/manager.js:197

Gets a list of task options

Returns:

hasClientDecorator

(
  • name
)
Boolean

Defined in lib/manager.js:315

Checks if a client-decorator is registered

Parameters:

Returns:

hasTask

(
  • name
)
Boolean

Defined in lib/manager.js:371

Checks if a task is registered

Parameters:

Returns:

hasTaskDecorator

(
  • name
)
Boolean

Defined in lib/manager.js:259

Checks if a options-decorator is registered

Parameters:

Returns:

initialize

()

Defined in lib/manager.js:63

Initializes the instance

registerClientDecorator

(
  • name
  • path
)

Defined in lib/manager.js:337

Registers a client-decorator

Parameters:

registerClientDecoratorRange

(
  • list
)

Defined in lib/manager.js:348

Registers a list of client-decorators

Parameters:

  • list Object[]

    { name: <string>, path: <string> }

registerTask

(
  • name
  • contr
)

Defined in lib/manager.js:393

Registers a task

Parameters:

registerTaskDecorator

(
  • name
  • contr
)

Defined in lib/manager.js:281

Registers a options-decorator

Parameters:

registerTaskDecoratorRange

(
  • list
)

Defined in lib/manager.js:292

Registers a list of options-decorators

Parameters:

  • list Object[]

    { name: <string>, fn: <function> }

registerTaskRange

(
  • list
)

Defined in lib/manager.js:404

Registers a list of task

Parameters:

  • list Object[]

    { name: <string>, fn: <function> }

run

() Promise

Defined in lib/manager.js:417

Run the preceptor application

Returns:

Promise:

validate

()

Defined in lib/manager.js:219

Validate data given

Properties

AbstractClient

AbstractClient static

Defined in lib/manager.js:547

AbstractClientDecorator

AbstractClientDecorator static

Defined in lib/manager.js:554

AbstractForkTask

AbstractForkTask static

Defined in lib/manager.js:561

AbstractTask

AbstractTask static

Defined in lib/manager.js:575

AbstractTaskDecorator

AbstractTaskDecorator static

Defined in lib/manager.js:568

TYPE

String static

Defined in lib/manager.js:537

version

String static

Defined in lib/manager.js:582