IReportingStep
Interface
interface IReportingStep { completeStep( completionText: string, completionState?: string, cancellationToken?: cancellationToken): void; completeStepMarkdown( markdownString: string, completionState?: string, cancellationToken?: cancellationToken): void; createMarkdownTask( markdownString: string, cancellationToken?: cancellationToken): IReportingTask; createTask( statusText: string, cancellationToken?: cancellationToken): IReportingTask; logStep( level: string, message: string): void; logStepMarkdown( level: string, markdownString: string): void;}6 members
Methods
method
completeStepCompletes the reporting step with plain-text completion text.
completeStep( completionText: string, completionState?: string, cancellationToken?: cancellationToken): voidParameters
completionTextstringcompletionStatestringoptional= completedcancellationTokencancellationTokenoptionalmethod
completeStepMarkdownCompletes the reporting step with Markdown-formatted completion text.
completeStepMarkdown( markdownString: string, completionState?: string, cancellationToken?: cancellationToken): voidParameters
markdownStringstringcompletionStatestringoptional= completedcancellationTokencancellationTokenoptionalmethod
createMarkdownTaskCreates a reporting task with Markdown-formatted status text.
createMarkdownTask( markdownString: string, cancellationToken?: cancellationToken): IReportingTaskParameters
markdownStringstringcancellationTokencancellationTokenoptionalReturns
IReportingTaskmethod
createTaskCreates a reporting task with plain-text status text.
createTask( statusText: string, cancellationToken?: cancellationToken): IReportingTaskParameters
statusTextstringcancellationTokencancellationTokenoptionalReturns
IReportingTaskmethod
logStepLogs a plain-text message for the reporting step.
logStep( level: string, message: string): voidParameters
levelstringmessagestringmethod
logStepMarkdownLogs a Markdown-formatted message for the reporting step.
logStepMarkdown( level: string, markdownString: string): voidParameters
levelstringmarkdownStringstring