Skip to main content

Class: ConsoleActionReporter

Implements

Constructors

constructor

new ConsoleActionReporter(args?)

Parameters

NameType
args?Object
args.logLevel?LogLevel

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:26

Properties

_count

_count: Object

Type declaration

NameType
binaryFilesnumber
errorsnumber
filesWrittennumber
textFilesnumber

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:17


logLevel

logLevel: LogLevel = LogLevel.Info

Implementation of

ActionReporter.logLevel

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:24

Accessors

errorCount

get errorCount(): number

Returns

number

Implementation of

ActionReporter.errorCount

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:32

Methods

onBinaryFile

onBinaryFile(event): void

Parameters

NameType
eventFileEvent

Returns

void

Implementation of

ActionReporter.onBinaryFile

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:36


onBluehawkErrors

onBluehawkErrors(event): void

Parameters

NameType
eventBluehawkErrorsEvent

Returns

void

Implementation of

ActionReporter.onBluehawkErrors

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:101


onFileError

onFileError(event): void

Parameters

NameType
eventFileErrorEvent

Returns

void

Implementation of

ActionReporter.onFileError

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:85


onFileParsed

onFileParsed(event): void

Parameters

NameType
eventFileParsedEvent

Returns

void

Implementation of

ActionReporter.onFileParsed

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:43


onFileWritten

onFileWritten(event): void

Parameters

NameType
eventFileWrittenEvent

Returns

void

Implementation of

ActionReporter.onFileWritten

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:50


onIdsUnused

onIdsUnused(event): void

Parameters

NameType
eventIdsUnusedEvent

Returns

void

Implementation of

ActionReporter.onIdsUnused

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:71


onParserNotFound

onParserNotFound(event): void

Parameters

NameType
eventParserNotFoundEvent

Returns

void

Implementation of

ActionReporter.onParserNotFound

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:77


onStateNotFound

onStateNotFound(event): void

Parameters

NameType
eventStateNotFoundEvent

Returns

void

Implementation of

ActionReporter.onStateNotFound

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:65


onStatesFound

onStatesFound(event): void

Parameters

NameType
eventStatesFoundEvent

Returns

void

Implementation of

ActionReporter.onStatesFound

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:59


onWriteFailed

onWriteFailed(event): void

Parameters

NameType
eventWriteFailedEvent

Returns

void

Implementation of

ActionReporter.onWriteFailed

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:92


printSummary

printSummary(): void

Request the summary of all things reported so far.

Users should call this after an action is complete.

Returns

void

Implementation of

ActionReporter.printSummary

Defined in

src/bluehawk/actions/ConsoleActionReporter.ts:115