ReportManager Class
Item Index
Methods
- _initializeListenerRegistry
- _initializeReporterRegistry
- _normalizeListener
- _normalizeReporter
- addListener
- addListenerRange
- addReporter
- addReporterRange
- clear
- getActiveListener
- getActiveReporter
- getAllowedMessages
- getContainer
- getListener
- getListenerList
- getLoaders static
- getMessengers static
- getOptions
- getReporter
- getReporterHooks static
- getReporterList
- hasListener
- hasReporter
- initialize
- loadHook
- message
- parse
- processMessage
- registerListener
- registerListenerRange
- registerReporter
- registerReporterRange
- shouldCollect
- version static
Properties
- AbstractListener static
- AbstractLoader static
- AbstractMessenger static
- AbstractReporter static
Methods
_initializeListenerRegistry
()
private
Initializes the listener registry
_initializeReporterRegistry
()
private
Initializes the reporter registry
addListener
(
AbstractListener
-
name
-
[options]
Adds a new listener to the list of active listeners
Returns:
addListenerRange
(
AbstractListener[]
-
listener
Adds a new listener to the list of active listeners
Returns:
addReporter
(
AbstractReporter
-
name
-
[options]
Adds a new reporter to the list of active reporters
Returns:
addReporterRange
(
AbstractReporter[]
-
reporter
Adds a new reporter to the list of active reporters
Returns:
clear
()
Clears all run-data
initialize
()
Initializes the instance
loadHook
(
Function
-
type
-
reportId
-
[finishedCallback]
Loads a reporter hook and returns the system specific function to be supplied to the system
Returns:
message
()
Event
Returns a convenience object to trigger messages
Returns:
Event:
parse
(
String
-
text
-
[placeholder]
Parses a string to see if any listener can receive messages from it
Returns:
processMessage
(
-
messageType
-
data
Processes a message by sending it to all attached reporter
Parameters:
-
messageType
String -
data
registerListenerRange
(
-
list
Registers a list of listeners
Parameters:
-
list
Object[]{ name: <string>, fn: <function> }
registerReporterRange
(
-
list
Registers a list of reporters
Parameters:
-
list
Object[]Of
{ name: <string>, fn: <function> }