InspectorManager

InspectorManager

new InspectorManager(pProject)

Source:
Parameters:
Name Type Description
pProject DexcaliburProject

Project instance

Methods

add(pInspector)

Source:
Parameters:
Name Type Description
pInspector Inspector

Add an inspector

addError(err)

Source:
Parameters:
Name Type Description
err *

autoRegister()

Source:
Deprecated:
  • Yes

Import inspector contained into the folders inspectors/*

deploy(name) → {Boolean}

Source:
Parameters:
Name Type Description
name String

Inspector name

Returns:
Type
Boolean

deployAll()

Source:

deployInspectors(pProject, pStep)

Source:

To create inspector for target project

Parameters:
Name Type Description
pProject *
pStep *

(async) enumerateRemote(pRegistry) → {Array.<Platform>}

Source:

To enumerate platforms of a remote registry

Parameters:
Name Type Description
pRegistry require('./DexcaliburRegistry')

The remote registry

Returns:

An array a platform

Type
Array.<Platform>

get(id)

Source:

To get an inspector by its UID

Parameters:
Name Type Description
id String

Inspector UID

getEnabledInspector(pProject, pName)

Source:
Parameters:
Name Type Description
pProject *
pName *

getLocalInspector(pName)

Source:
Parameters:
Name Type Description
pName *

getRemoteInspector(pName)

Source:
Parameters:
Name Type Description
pName *

(async) install(pRegistry, pName)

Source:
Parameters:
Name Type Description
pRegistry *
pName *

lastError(err)

Source:
Parameters:
Name Type Description
err *

list() → {Array.<Inspector>}

Source:

To get a list of all inspectors

Returns:

Array of inspector

Type
Array.<Inspector>