Class: ConsoleActionReporter
Implements
Constructors
constructor
• new ConsoleActionReporter(args?
)
Parameters
Name | Type |
---|---|
args? | Object |
args.logLevel? | LogLevel |
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:26
Properties
_count
• _count: Object
Type declaration
Name | Type |
---|---|
binaryFiles | number |
errors | number |
filesWritten | number |
textFiles | number |
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:17
logLevel
• logLevel: LogLevel
= LogLevel.Info
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:24
Accessors
errorCount
• get
errorCount(): number
Returns
number
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:32
Methods
onBinaryFile
▸ onBinaryFile(event
): void
Parameters
Name | Type |
---|---|
event | FileEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:36
onBluehawkErrors
▸ onBluehawkErrors(event
): void
Parameters
Name | Type |
---|---|
event | BluehawkErrorsEvent |
Returns
void
Implementation of
ActionReporter.onBluehawkErrors
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:101
onFileError
▸ onFileError(event
): void
Parameters
Name | Type |
---|---|
event | FileErrorEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:85
onFileParsed
▸ onFileParsed(event
): void
Parameters
Name | Type |
---|---|
event | FileParsedEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:43
onFileWritten
▸ onFileWritten(event
): void
Parameters
Name | Type |
---|---|
event | FileWrittenEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:50
onIdsUnused
▸ onIdsUnused(event
): void
Parameters
Name | Type |
---|---|
event | IdsUnusedEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:71
onParserNotFound
▸ onParserNotFound(event
): void
Parameters
Name | Type |
---|---|
event | ParserNotFoundEvent |
Returns
void
Implementation of
ActionReporter.onParserNotFound
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:77
onStateNotFound
▸ onStateNotFound(event
): void
Parameters
Name | Type |
---|---|
event | StateNotFoundEvent |
Returns
void
Implementation of
ActionReporter.onStateNotFound
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:65
onStatesFound
▸ onStatesFound(event
): void
Parameters
Name | Type |
---|---|
event | StatesFoundEvent |
Returns
void
Implementation of
Defined in
src/bluehawk/actions/ConsoleActionReporter.ts:59
onWriteFailed
▸ onWriteFailed(event
): void
Parameters
Name | Type |
---|---|
event | WriteFailedEvent |
Returns
void
Implementation of
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